-
Notifications
You must be signed in to change notification settings - Fork 42
Adding playwright test documentation #6
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
Adding playwright test documentation #6
Conversation
d61578b to
9a0e047
Compare
playwright-test/global-setup.js
Outdated
| while (!localStarted) { | ||
| await sleep(1000); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this wait required?
What if local fails to start?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Throwing an error now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we exit if we fail to start the BrowserStack local? I haven't exited currently, because it also throws an error if there is any existing binary running on your system.
|
Lets not add more than 6 test cases, 1p-5q |
@SaranshBS Product team wants to add 10+ test cases to demonstrate the workers implementation too. |
|
@SaranshBS 1P-5Q guy will not face any problem...since he would be using 1 worker only. |
playwright-test/package.json
Outdated
| "playwright": "^1.13.1", | ||
| "@playwright/test": "^1.13.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not use ^ here...lets use specific versions or use ~
…rowserstack-1 into playwright-test
No description provided.