Timed out retrying after 4000ms: Expected to find element xxxxxxxxxxxxxx but never found it.
See original GitHub issueVersions
"cypress": "^7.6.0",
, Browser and version: available on cypress:open interface , Operating System: linux , CI Provider: gitlab
related to, CypressError: Timed out retrying: Expected to find element: ‘#name’, but never found it. #6811 in which never got a solution I have read all that one
Current behavior
I am having this issue, bug, problem when try to run cypress integrated with gitlab
cypress dashboard

gitlab pipeline

i have tried first with normal cy.contains by did not work
and also try with cy.get(selector)
but neither
in locally it runs perfectly but when I run in gitlab it fails
Desired behavior
that it works and pass all the test
Test code to reproduce
<h3 className="text-yellow-600 text-2xl" name="warehouseWelcomeTitle">Welcome</h3>
it("Accessing to welcome page", () => { cy.visit(/auth/${token}); cy.get('[name="warehouseWelcomeTitle"]'); });
PLEASE HELP
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (2 by maintainers)
Top Related StackOverflow Question
Same here. Everything is working locally but it fails in github action. Sometimes it passes sometimes not.
I am having the same issue. I have made sure that all the variables are present. It passes perfectly in the local device, but fails in GitHub Actions. Any solutions or references?