1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

remove E2E dependency to rendered photo (server might be slow)

This commit is contained in:
Patrik J. Braun 2023-09-06 20:37:08 +02:00
parent 1a254bf531
commit c78dc6f350

View File

@ -39,7 +39,7 @@ describe('Gallery', () => {
it('Gallery should show infobar over photo', () => { it('Gallery should show infobar over photo', () => {
cy.wait('@getContent'); cy.wait('@getContent');
// contains a folder // contains a folder
cy.get(':nth-child(1) > .button > .photo-container > .photo'); cy.get(':nth-child(1) > .button > .photo-container');
for (let i = 0; i < 5; ++i) { for (let i = 0; i < 5; ++i) {
@ -59,7 +59,7 @@ describe('Gallery', () => {
it('Gallery should open ligthbox', () => { it('Gallery should open ligthbox', () => {
cy.wait('@getContent'); cy.wait('@getContent');
// contains a folder // contains a folder
cy.get(':nth-child(1) > .button > .photo-container > .photo'); cy.get(':nth-child(1) > .button > .photo-container');
for (let i = 0; i < 5; ++i) { for (let i = 0; i < 5; ++i) {