[Koha-bugs] [Bug 33400] Titles_spec.ts is failing because alert is not visible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 4 10:47:46 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33400

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 149120
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149120&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list