Skip to content
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

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Mar 26, 2024

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 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.

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

…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]
Copy link

cypress bot commented Mar 26, 2024

3 flaky tests on run #54656 ↗︎

0 227 4 0 Flakiness 3

Details:

chore: reduce flake in windows-run-app-integration-tests-chrome by not testing c...
Project: cypress Commit: 714b0d4ce2
Status: Passed Duration: 14:53 💡
Started: Mar 26, 2024 7:19 PM Ended: Mar 26, 2024 7:34 PM
Flakiness  cypress\e2e\project-setup.cy.ts • 1 flaky test • launchpad-e2e

View Output

Test Artifacts
... > can reconfigure config after CT has been set up Test Replay Screenshots
Flakiness  cypress\e2e\scaffold-component-testing.cy.ts • 1 flaky test • launchpad-e2e

View Output

Test Artifacts
scaffolding component testing > create-react-app > scaffolds component testing for Create React App v5 project Test Replay Screenshots
Flakiness  cypress\e2e\migration.cy.ts • 1 flaky test • launchpad-e2e

View Output

Test Artifacts
Full migration flow for each project > completes journey for migration-e2e-no-plugins-support-file Test Replay Screenshots

Review all test suite changes for PR #29198 ↗︎

@AtofStryker
Copy link
Contributor Author

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
Copy link
Contributor

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 () { })

Copy link
Contributor Author

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.

@AtofStryker AtofStryker merged commit 339f64b into develop Apr 2, 2024
95 of 97 checks passed
@AtofStryker AtofStryker deleted the chore/reduce_windows_flake branch April 2, 2024 14:14
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.

Flake: errors ui assertion failures
3 participants