From c78dc6f350772f7da1f4035b27c08ecb18ef5b30 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Wed, 6 Sep 2023 20:37:08 +0200 Subject: [PATCH] remove E2E dependency to rendered photo (server might be slow) --- test/cypress/e2e/gallery.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cypress/e2e/gallery.cy.ts b/test/cypress/e2e/gallery.cy.ts index 24d5332a..878405db 100644 --- a/test/cypress/e2e/gallery.cy.ts +++ b/test/cypress/e2e/gallery.cy.ts @@ -39,7 +39,7 @@ describe('Gallery', () => { it('Gallery should show infobar over photo', () => { cy.wait('@getContent'); // 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) { @@ -59,7 +59,7 @@ describe('Gallery', () => { it('Gallery should open ligthbox', () => { cy.wait('@getContent'); // 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) {