From 3d5e601f1a7b01a23f54de780a9568287f300c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20K=C3=BCnzi?= Date: Tue, 14 Jan 2025 17:26:01 +0100 Subject: [PATCH] PB-1343: adapt e2e tests --- tests/cypress/tests-e2e/reportProblem.cy.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/cypress/tests-e2e/reportProblem.cy.js b/tests/cypress/tests-e2e/reportProblem.cy.js index b65d508c4..83803df2f 100644 --- a/tests/cypress/tests-e2e/reportProblem.cy.js +++ b/tests/cypress/tests-e2e/reportProblem.cy.js @@ -244,6 +244,7 @@ describe('Testing the report problem form', () => { cy.get('[data-cy="drawing-header-title"]').should('not.exist') cy.get('[data-cy="text-area-input"]').should('be.visible').should('have.value', text) cy.get('[data-cy="email-input"]').should('be.visible').should('have.value', validEmail) + cy.get('[data-cy="report-problem-drawing-added-feedback"]').scrollIntoView() cy.get('[data-cy="report-problem-drawing-added-feedback"]') .should('be.visible') .should('have.class', 'valid-feedback') @@ -289,6 +290,7 @@ describe('Testing the report problem form', () => { cy.get('[data-cy="drawing-header-title"]').should('not.exist') cy.get('[data-cy="text-area-input"]').should('have.value', text) cy.get('[data-cy="email-input"]').should('have.value', validEmail) + cy.get('[data-cy="report-problem-drawing-added-feedback"]').scrollIntoView() cy.get('[data-cy="report-problem-drawing-added-feedback"]') .should('be.visible') .should('have.class', 'valid-feedback')