-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
test: Ensure browser-integration-tests cannot conflict due to build #13338
Conversation
size-limit report 📦
|
9e8f487
to
702d505
Compare
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.
Looks reasonable
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.
LGTM, would it be worth to put the base url in a const though in case we need to update it again at some point?
the base url is really pretty arbitrary, in most cases it does not matter, IMHO it is just clearer to have it with a name like this vs some localhost name where it is not clear if this comes from somewhere important or not 😅 |
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.
LGTM -- should we remove these try/catches so that if these error, they should break the build? (this shouldn't error anymore anyway)
702d505
to
d87049d
Compare
This streamlines some stuff in our browser integration tests, to fix some flakiness (hopefully). The biggest change is that instead of always building into `dist` for each test file, each test will now build into a random subfolder, e.g. `dist/abc`. This way, multiple tests in a single file will never conflict with each other.
d87049d
to
d35b73b
Compare
…etsentry#13338) This streamlines some stuff in our browser integration tests, to fix some flakiness (hopefully). The biggest change is that instead of always building into `dist` for each test file, each test will now build into a random subfolder, e.g. `dist/abc`. This way, multiple tests in a single file will never conflict with each other. Additionally it also streamlines some of the tests I encountered while looking at stuff, hopefully reducing flakes further. Closes getsentry#13321
This streamlines some stuff in our browser integration tests, to fix some flakiness (hopefully).
The biggest change is that instead of always building into
dist
for each test file, each test will now build into a random subfolder, e.g.dist/abc
. This way, multiple tests in a single file will never conflict with each other.Additionally it also streamlines some of the tests I encountered while looking at stuff, hopefully reducing flakes further.
Closes #13321