[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 15:56:56 CEST 2023


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

--- Comment #10 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Philip Orr from comment #8)
> Note for clarity's sake:
> In step 6:
> >>Commit! % git commit -a -m"auto librarylist"
> Should be done in ktd --shell.

You can do this on your host as well.

(In reply to Philip Orr from comment #9)
> 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 |     });

I've updated the remote branch to include 2 missing commits.

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


More information about the Koha-bugs mailing list