-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
test(e2e): Add framework for canary testing #5935
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
Conversation
size-limit report 📦
|
@@ -7,5 +7,13 @@ | |||
"testName": "Playwright tests", | |||
"testCommand": "yarn test" | |||
} | |||
], | |||
"canaryVersions": [ |
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.
Thought about testing previous versions of react here but it was a PITA to get working with react router so I just dropped it
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.
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.
Great work man
.github/CANARY_FAILURE_TEMPLATE.md
Outdated
@@ -0,0 +1,5 @@ | |||
--- | |||
title: Canary tests failed | |||
labels: 'Status: Untriaged' |
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.
Can we add the tests label here as well?
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.
Good input 3ba4f38
@@ -7,5 +7,13 @@ | |||
"testName": "Playwright tests", | |||
"testCommand": "yarn test" | |||
} | |||
], | |||
"canaryVersions": [ |
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.
Resolves #5934
This PR adds all necessary pieces for us to do canary tests:
versions
andcanaryVersions
fields in E2E test recipes that can provide dependency overrides (to test different verions for packages).canaryVersions
tests are run when theCANARY_E2E_TEST
is set.