-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
chore: reduce flake in windows-run-app-integration-tests-chrome #29198
Conversation
…t testing certain tests that are flaky inside the pap-integration cy-in-cy pipeline. Because there are issues recording with --spec specified with cy-in-cy, we will not be recording the windows app integration tests. Additionally, this fixes the windows-test-binary-against-kitchensink-chrome where yarn is not installed on the windows-server executor by making sure yarn is installed first before any action happens when checking out a repo [run ci]
3 flaky tests on run #54656 ↗︎
Details:
cypress\e2e\project-setup.cy.ts • 1 flaky test • launchpad-e2e
cypress\e2e\scaffold-component-testing.cy.ts • 1 flaky test • launchpad-e2e
cypress\e2e\migration.cy.ts • 1 flaky test • launchpad-e2e
Review all test suite changes for PR #29198 ↗︎ |
Took two reruns to get a passing windows pipeline, but it can pass |
@@ -703,6 +717,12 @@ commands: | |||
# To run the `yarn` command, we need to walk out of the package folder. | |||
cd ../.. | |||
|
|||
if [[ "$IS_WINDOWS_APP_INTEGRATION_TEST" = true ]]; then |
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 detect host os in the specs themselves, to ease tracking down why these tests are skipped in the future?
e.g.,
;(isWindowsHostCI ? describe.skip : describe)('top level describe block', function () { })
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.
We don't want to skip them on the OS itself though. Only in CI on a specific OS for a given test. They don't flake locally or have issues.
Additional details
Reduces flake in
windows-run-app-integration-tests-chrome
by not testing certain tests that are flaky inside the pap-integration cy-in-cy pipeline. These tests have been flaky for some time and it was difficult to determine what caused the flake since we are unable to see circleCI history that far back without performance implications.Because there are issues recording with
--spec
specified with cy-in-cy, we will not be recording the windows app integration tests. Additionally, this fixes thewindows-test-binary-against-kitchensink-chrome
whereyarn
is not installed on the windows-server executor by making sure yarn is installed first before any action happens when checking out a repo.The launchpad and app tests are still flaky, they are just less flaky and have the ability to pass now. Not ideal, but this is an improvement
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?