Skip to content

test(e2e): Allow lockfiles in E2E tests #5871

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

Merged
merged 3 commits into from
Oct 3, 2022
Merged

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Oct 3, 2022

This PR tries to reduce E2E test flakiness as examined in this CI run by allowing lockfiles in E2E tests.

@lforst lforst added this to the E2E Tests milestone Oct 3, 2022
@lforst lforst requested review from AbhiPrasad and removed request for AbhiPrasad October 3, 2022 09:29
@lforst lforst marked this pull request as draft October 3, 2022 09:30
@@ -1,6 +1,6 @@
{
"$schema": "../../test-recipe-schema.json",
"testApplicationName": "create-react-app",
"buildCommand": "yarn install && yarn build",
"buildCommand": "yarn install --no-lockfile && yarn build",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn’t this mean it won’t read the lockfile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah changed to --pure-lockfile instead which seems to do what we need here.

@lforst lforst marked this pull request as ready for review October 3, 2022 13:12
@lforst lforst merged commit 29f4af1 into master Oct 3, 2022
@lforst lforst deleted the lforst-fix-e2e-flakiness branch October 3, 2022 13:17
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

Successfully merging this pull request may close these issues.

2 participants