parallel-group-params-mismatch caused by browser (reopened)
See original GitHub issueRelated to https://github.com/cypress-io/github-action/issues/121
First noticed April 30
Current behavior:
When running tests in parallel on GitHub actions, different containers have different browser versions, causing cypress to fail outright.
First container: Chrome 80.0.3987.163 Subsequent two containers:
This machine sent the following parameters:
{
"osName": "linux",
"osVersion": "Ubuntu Linux - 18.04",
"browserName": "Chrome",
"browserVersion": "81.0.4044.122",
Desired behavior:
Tests run in parallel shouldn’t have inconsistent configurations
Test code to reproduce
Job ran as follows:
- name: cypress tests start
uses: cypress-io/github-action@v1
with:
working-directory: ./frontend
group: ${{ matrix.browser }}-${{ matrix.python-version }}
browser: ${{ matrix.browser }}
headless: true
record: true
parallel: true
start: npx ws --spa -s index.html --hostname 0.0.0.0 --port 4200 --directory dist
wait-on: http://localhost:4200
wait-on-timeout: 30
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Versions
Cypress: 4.5.0 Browser: Chrome GitHub Actions: current
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (1 by maintainers)
Top Results From Across the Web
TestNg Non-Parallel execution of multiple browsers giving ...
This is the exception I get after Chrome has finished execution. In the above exception, the browser parameter passed for Second Test is...
Read more >How to fix common Selenium errors? - Ultimate QA
Selenium webdriver errors that are commonly faced by QA Engineers. This article covers all the common errors including Firefox and Selenium ...
Read more >TestNG Listeners In Selenium Webdriver For Automated Testing
TestNG Parallel Execution ... Implementing the listeners at the class level will cause a lot of ... This method takes three arguments:.
Read more >Troubleshooting - Harness.io Docs
Harness error messages, causes, and solutions. ... If you log out of Harness Manager in one browser tab, Harness might log you out...
Read more >Writing visual tests with the Eyes SDK - Applitools
In an Eyes visual test, your test code uses a browser or native device driver ... the Eyes Test Manager to determine the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
inspired by the instructions for Firefox
I added
it added 25s
Initialize containers
step in the workflow, but at least I get consistent browser version for my parallel jobsOkay, I think I know what I did wrong 😃 I shouldn’t be passing
--parallel
flag, because I do not want Cypress to orchestrate it for me. I just need multiple runs to be grouped together and the orchestration of parallelisation with be done by GH itself via the matrices.