Skip to content

Commit

Permalink
fix end2end test
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr committed Dec 11, 2024
1 parent 273d0fa commit 5047016
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/end2end/cypress/integration/feature_toolbar-ghaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit 5047016

Please sign in to comment.