Timed out retrying after 4000ms: Expected to find element xxxxxxxxxxxxxx but never found it.

See original GitHub issue

Versions

"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:closed
  • Created 2 years ago
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
timdavhencommented, Oct 20, 2022

Same here. Everything is working locally but it fails in github action. Sometimes it passes sometimes not.

2reactions
kailash360commented, Sep 23, 2022

I got the same issue, but it happens in github workflow. Everything works fine and perfect locally, however when it runs in github, only see the blank page.

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tests using cypress open pass and tests using cypress run
AssertionError : Timed out retrying after 4000ms: Expected to find element: `[data-test=tableRow]`, but never found it.
Read more >
cypress-io/cypress - Gitter
I get this error. CypressError: cy.then() timed out after waiting '8000ms'. Your callback function returned a promise which never resolved.
Read more >
Solved: Failed to parse CP site response - Page 2
40 so I took some time to search my deleted items folder and it seems that the volume of alerts from our R80.40...
Read more >
CypressでCognitoにログインするテストケースを通す ... - Qiita
Timed out retrying after 4000ms : Expected to find element: [data-test="sign-in-username-input"], but never found it.
Read more >
Cisco MDS 9000 Series Command Reference - Show ...
switch# show cfs application name device-alias Enabled : Yes Timeout : 5s Merge ... The following example displays the system date, time, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found