1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Forcing clicking on faces even if there is an error message

This commit is contained in:
Patrik J. Braun 2023-09-06 21:24:25 +02:00
parent 3825c41f13
commit 773c495a21

View File

@ -12,7 +12,7 @@ describe('Faces', () => {
url: '/pgapi/person', url: '/pgapi/person',
}).as('getPerson'); }).as('getPerson');
cy.get('.col-sm-12 > .btn').click(); cy.get('.col-sm-12 > .btn').click();
cy.get('nav .nav-item .nav-link').contains('Faces').click(); cy.get('nav .nav-item .nav-link').contains('Faces').click({force: true});
}); });
it('Show faces', () => { it('Show faces', () => {
cy.wait('@getPerson', {timeout: 10000}); cy.wait('@getPerson', {timeout: 10000});