From 5047016d0f4aff88f485bbf94d7db11b24912fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Martin?= Date: Wed, 11 Dec 2024 12:33:21 +0100 Subject: [PATCH] fix end2end test --- .../cypress/integration/feature_toolbar-ghaction.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/end2end/cypress/integration/feature_toolbar-ghaction.js b/tests/end2end/cypress/integration/feature_toolbar-ghaction.js index 7213ccc3c1..f8a9ffcbb4 100644 --- a/tests/end2end/cypress/integration/feature_toolbar-ghaction.js +++ b/tests/end2end/cypress/integration/feature_toolbar-ghaction.js @@ -442,8 +442,8 @@ describe('Feature Toolbar in popup', function () { cy.wait(300) - // Parent_id is disabled in form when edition is started from parent form - cy.get('#jforms_view_edition_parent_id').should('be.disabled') + // Parent_id is hidden in form when edition is started from parent form + cy.get('#jforms_view_edition_parent_id').should('have.class', 'hide'); // Parent_id input should have the value 2 selected cy.get('#jforms_view_edition_parent_id').find('option:selected').should('have.value', '2'); @@ -459,8 +459,8 @@ describe('Feature Toolbar in popup', function () { cy.wait(300) - // Parent_id is disabled in form when edition is started from parent form - cy.get('#jforms_view_edition_parent_id').should('be.disabled') + // Parent_id is hidden in form when edition is started from parent form + cy.get('#jforms_view_edition_parent_id').should('have.class', 'hide'); // Parent_id input should have the value 2 selected cy.get('#jforms_view_edition_parent_id').find('option:selected').should('have.value', '2');