Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow fails (timeout) just after login during "go to profile" #32

Closed
beuted opened this issue Jan 2, 2023 · 8 comments
Closed

Workflow fails (timeout) just after login during "go to profile" #32

beuted opened this issue Jan 2, 2023 · 8 comments

Comments

@beuted
Copy link
Contributor

beuted commented Jan 2, 2023

image

What I've tried:

  • I've triple checked that my password and emails are the right ones
  • I've hardcoded emaila nd password in the script instead of using env variables

I'm new to playright maybe there is a way to debug this easily ?

@connorads
Copy link
Owner

connorads commented Jan 2, 2023

Salut @beuted,

It's been a while since I've looked at this so it could be broken 🤷‍♂️

Have you tried running it in non-headless mode?
This lets you see the browser as it's clicking around etc.
const browser = await playwright['chromium'].launch({ headless: false });

https://playwright.dev/docs/debug#headed-mode
Apparently there's a slowMo feature which I haven't used before.

@beuted
Copy link
Contributor Author

beuted commented Jan 2, 2023

Nah I think the issue is that some of the elements class and id have changed since you implemented it.
(Even the tests of the repo are broken I think)
I'll try to fix it on my side and send a PR on your repo if I manage to fix it :)

@beuted
Copy link
Contributor Author

beuted commented Jan 2, 2023

I've created this PR #33

@beuted
Copy link
Contributor Author

beuted commented Jan 2, 2023

And this one to be merged first to fix the tests: #34

@connorads
Copy link
Owner

Merci beaucoup monsieur 🙏 Merged both the PRs.
Is it all working now?

Bear in mind that the Readme currently lies a bit #15 (comment) 👀

@beuted
Copy link
Contributor Author

beuted commented Jan 2, 2023

A manual run worked so I think it should be good.
I'll check tomorrow if it has run in the night :)

@connorads
Copy link
Owner

Hey @beuted, I'm guessing it is working now and can close this? 👀

@beuted
Copy link
Contributor Author

beuted commented Jan 22, 2023

Yeap thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants