[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 13 13:46:35 CEST 2023


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

--- Comment #9 from Philip Orr <philip.orr at lmscloud.de> ---
In step 6, at this step:
>>So edit again and add a "wait_for_ajax" call (that is doing what its named says it does):
I get an error running the test after adding the cy.wait_for_ajax call:

TypeError
cy.wait_for_ajax is not a function
t/cypress/integration/Manual/4-library.ts:12:12

  10 |         cy.get(':nth-child(2) > .biglinks-list > :nth-child(6) >
.icon_general').click();
  11 |         cy.get(':nth-child(1) > :nth-child(4) > :nth-child(1) >
a').click();
> 12 |         cy.wait_for_ajax();
     |            ^
  13 |         cy.get('main').should('be.visible').screenshot("librarylist");
  14 |         /* ==== End Cypress Studio ==== */
  15 |     });

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


More information about the Koha-bugs mailing list