Skip to content

Skip Firefox test using Cypress v9 to resolve flaky tests#660

Merged
jaffrepaul merged 1 commit into
cypress-io:masterfrom
MikeMcC399:fix/firefox-reliability
Dec 15, 2022
Merged

Skip Firefox test using Cypress v9 to resolve flaky tests#660
jaffrepaul merged 1 commit into
cypress-io:masterfrom
MikeMcC399:fix/firefox-reliability

Conversation

@MikeMcC399

Copy link
Copy Markdown
Collaborator

This PR resolves the issue #659 "CI: Sporadic failures in example-firefox".

The Firefox test under Cypress v9 in .github/workflows/example-firefox.yml is disabled, since it is unreliable and the issue has been shown to be reproducible on a local machine independently of github-action.

This allows the Cypress v10 test to then run reliably.

@MikeMcC399

MikeMcC399 commented Dec 11, 2022

Copy link
Copy Markdown
Collaborator Author

Test results

The results are good!

Success

Note especially the success of example-firefox / firefox-v10 https://github.com/cypress-io/github-action/actions/runs/3670236402/jobs/6204633271 🙂

Skipped

As planned, example-firefox / firefox (the v9 test) is skipped https://github.com/cypress-io/github-action/actions/runs/3670236402/jobs/6204633548

Failures

In detail:

@MikeMcC399

Copy link
Copy Markdown
Collaborator Author

Hi @jaffrepaul

How do you feel about this PR?

Disabling the Firefox test on v9 is a quick workaround to get the test suite to succeed running v10, instead of getting tripped up on "Error: could not find CRI target" from the v9 test.

I don't expect to see a fix for this scenario however, so a more permanent solution would be to remove the complete v9 test for Firefox instead of simply skipping it.

@nagash77 responded in cypress-io/cypress#23215 (comment) so I don't expect any change in the Cypress code for 9.x. If there is no identified issue on the Mozilla Firefox side with CRI (Chrome Remote Interface?) then there is also not much likelihood of Mozilla issuing a fix. So in total there is not much chance of this test becoming reliable again.

disable unreliable Firefox test using Cypress v9

GitHub Cypress issue cypress-io/cypress#23215 describes the problem
@MikeMcC399 MikeMcC399 force-pushed the fix/firefox-reliability branch from 569cab2 to 1ee906e Compare December 15, 2022 16:10
@jaffrepaul

Copy link
Copy Markdown
Contributor

Thanks @MikeMcC399. Im ok to skip this test but leave as-is for reference and the thread which discusses things in more depth.

@jaffrepaul jaffrepaul merged commit ee6f952 into cypress-io:master Dec 15, 2022
@MikeMcC399

Copy link
Copy Markdown
Collaborator Author

@jaffrepaul

I'm happy you agreed and it is rewarding to see that the badge

Firefox example

and all other workflows are succeeding!

@MikeMcC399 MikeMcC399 deleted the fix/firefox-reliability branch December 15, 2022 16:43
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 5.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

kodiakhq Bot referenced this pull request in weareinreach/InReach Dec 20, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action | digest | `7dd9e2a` -> `755da8c` |
| [chromaui/action](https://togithub.com/chromaui/action) | action | digest | `0ec8cd8` -> `2440d35` |
| [cypress-io/github-action](https://togithub.com/cypress-io/github-action) | action | patch | `v5.0.0` -> `v5.0.2` |
| [github/codeql-action](https://togithub.com/github/codeql-action) | action | digest | `a669cc5` -> `959cbb7` |
| [tinkurlab/monorepo-pr-labeler-action](https://togithub.com/tinkurlab/monorepo-pr-labeler-action) | action | patch | `4.1.2` -> `4.1.3` |

---

### Release Notes

<details>
<summary>cypress-io/github-action</summary>

### [`v5.0.2`](https://togithub.com/cypress-io/github-action/releases/tag/v5.0.2)

[Compare Source](https://togithub.com/cypress-io/github-action/compare/v5.0.1...v5.0.2)

Numerous housekeeping updates to bring this action back up to speed.

\*In combination with v5.0.1, which triggered without a new dist build.

👏 Special thanks to [@&#8203;MikeMcC399](https://togithub.com/MikeMcC399) for all the diligent work! 👏

**Fix Failed Tests**

-   [https://github.com/cypress-io/github-action/pull/643](https://togithub.com/cypress-io/github-action/pull/643)
-   [https://github.com/cypress-io/github-action/pull/658](https://togithub.com/cypress-io/github-action/pull/658)
-   [https://github.com/cypress-io/github-action/pull/660](https://togithub.com/cypress-io/github-action/pull/660)

**Update Dependencies**

-   [https://github.com/cypress-io/github-action/pull/644](https://togithub.com/cypress-io/github-action/pull/644)
-   [https://github.com/cypress-io/github-action/pull/650](https://togithub.com/cypress-io/github-action/pull/650)

**Resolve Warnings**

-   [https://github.com/cypress-io/github-action/pull/651](https://togithub.com/cypress-io/github-action/pull/651)
-   [https://github.com/cypress-io/github-action/pull/666](https://togithub.com/cypress-io/github-action/pull/666)
-   [https://github.com/cypress-io/github-action/pull/670](https://togithub.com/cypress-io/github-action/pull/670)
-   [https://github.com/cypress-io/github-action/pull/675](https://togithub.com/cypress-io/github-action/pull/675)

**Docs/Example Updates**

-   [https://github.com/cypress-io/github-action/pull/665](https://togithub.com/cypress-io/github-action/pull/665)
-   [https://github.com/cypress-io/github-action/pull/668](https://togithub.com/cypress-io/github-action/pull/668)

**Tooling Updates:**

-   [https://github.com/cypress-io/github-action/pull/667](https://togithub.com/cypress-io/github-action/pull/667)
-   [https://github.com/cypress-io/github-action/pull/677](https://togithub.com/cypress-io/github-action/pull/677)

### [`v5.0.1`](https://togithub.com/cypress-io/github-action/releases/tag/v5.0.1)

[Compare Source](https://togithub.com/cypress-io/github-action/compare/v5.0.0...v5.0.1)

##### Bug Fixes

-   correct .gitignore for videos and screenshots ([89e59e5](https://togithub.com/cypress-io/github-action/commit/89e59e5cfc7760513fe9e9ce4c690345d94eb27a))

</details>

<details>
<summary>tinkurlab/monorepo-pr-labeler-action</summary>

### [`v4.1.3`](https://togithub.com/TinkurLab/monorepo-pr-labeler-action/releases/tag/4.1.3): Monorepo PR Labeler v4.1.3

[Compare Source](https://togithub.com/tinkurlab/monorepo-pr-labeler-action/compare/4.1.2...4.1.3)

Changes include:

Bug fix to ignore directories starting with a dot `.` but not directories that contain a dot `.`. According to the docs, this action should ignore mono repos that begin with a dot but it currently ignores also mono repo with a dot even if it is not the first character. Thanks to [@&#8203;MoLow](https://togithub.com/MoLow) for the fix!

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/weareinreach/InReach).



PR-URL: #107
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants