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

            Bug ID: 40043
           Summary: Agreements_spec.ts is failing randomly (2)
 Change sponsored?: ---
           Product: Koha
           Version: 24.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

17:45:28 koha_1       |     <testcase name="Agreement CRUD operations Delete
agreement" time="0.000" classname="Delete agreement">
17:46:28 koha_1       |       <failure message="Timed out retrying after
10050ms: `cy.click()` failed because the page updated while this command was
executing. Cypress tried to locate elements based on this query:
17:46:28 koha_1       | 
17:46:28 koha_1       | &gt; &lt;a.show&gt;
17:46:28 koha_1       | 
17:46:28 koha_1       | We initially found matching element(s), but while
waiting for them to become actionable, they disappeared from the page. Common
situations why this happens:
17:46:28 koha_1       |   - Your JS framework re-rendered asynchronously
17:46:28 koha_1       |   - Your app code reacted to an event firing and
removed the element
17:46:28 koha_1       | 
17:46:28 koha_1       | You can typically solve this by breaking up a chain.
For example, rewrite:
17:46:28 koha_1       | 
17:46:28 koha_1       | &gt; `cy.get(&apos;button&apos;).click().click()`
17:46:28 koha_1       | 
17:46:28 koha_1       | to
17:46:28 koha_1       | 
17:46:28 koha_1       | &gt;
`cy.get(&apos;button&apos;).as(&apos;btn&apos;).click()`
17:46:28 koha_1       | &gt; `cy.get(&apos;@btn&apos;).click()`

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to