<testcase name="Title CRUD operations Add title" time="0.0000" classname="Add title"> <failure message="Timed out retrying after 4000ms: Expected to find element: `main div[class='dialog alert']`, but never found it." type="AssertionError"><![CDATA[AssertionError: Timed out retrying after 4000ms: Expected to find element: `main div[class='dialog alert']`, but never found it. at Context.eval (http://kohadev-intra.mydnsname.org:8081/__cypress/tests?p=t/cypress/integration/Titles_spec.ts:255:12)]]></failure> </testcase> We are expecting the error, but it appears at the top and it's not in the viewport. Only happens in without using the cypress UI
I have stated on bug 33370 comment 14 that it was failing consistently, but I don't think it is actually... I am having trouble trying to recreate the failure now...
Created attachment 149120 [details] [review] Bug 33400: Fix random Titles failure <testcase name="Title CRUD operations Add title" time="0.0000" classname="Add title"> <failure message="Timed out retrying after 4000ms: Expected to find element: `main div[class='dialog alert']`, but never found it." type="AssertionError"><![CDATA[AssertionError: Timed out retrying after 4000ms: Expected to find element: `main div[class='dialog alert']`, but never found it. at Context.eval (http://kohadev-intra.mydnsname.org:8081/__cypress/tests?p=t/cypress/integration/Titles_spec.ts:255:12)]]></failure> </testcase> We are expecting the error, but it appears at the top and it's not in the viewport. Only happens in without using the cypress UI
Only signoff if you recreate the failure!
See also https://docs.cypress.io/guides/core-concepts/interacting-with-elements#Scrolling
Without applying patch yarn cypress run: * 1st run: no issues * 2nd run: Package CRUD operations Add package: AssertionError: Timed out retrying after 4000ms: Expected to find content: 'New package' but never did. at Context.eval (http://localhost:8081/__cypress/tests?p=t/cypress/integration/Packages_spec.ts:194:12) I don't think this is the same error, it's failing to find the "New package" on package CRUD, instead of failing to find the dialog in titles. * 3rd run: no issues * 4th run: no issues * 5th run: no issues
(In reply to Pedro Amorim from comment #5) > * 2nd run: > Package CRUD operations > Add package: > AssertionError: Timed out retrying after 4000ms: Expected to find > content: 'New package' but never did. > at Context.eval > (http://localhost:8081/__cypress/tests?p=t/cypress/integration/Packages_spec. > ts:194:12) > > I don't think this is the same error, it's failing to find the "New package" > on package CRUD, instead of failing to find the dialog in titles. Yes, that's different. I think this one will be fixed by bug 33408.
I just noticed that cypress relies on an x86_64 dependency. Maybe we should add support for arm64 too. yarn run v1.22.19 $ cypress run It looks like this is your first time using Cypress: 9.7.0 Cypress failed to start. This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies Please refer to the error below for more details. ---------- qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory ---------- Platform: linux-x64 (Debian - 11) Cypress Version: 9.7.0 error Command failed with exit code 1.
Do we still need this bug?
(In reply to Pedro Amorim from comment #8) > Do we still need this bug? Closing, will reopen if it reappears.