Skip to content

Commit

Permalink
E2E: Open "User permissions" panel if closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Oct 18, 2024
1 parent 05fca00 commit 66a87db
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ describe( '[Language processing] Classify content (IBM Watson - NLU) Tests', ()
cy.visitFeatureSettings( 'language_processing&provider=watson_nlu' );

// Disable access for all roles.
cy.openUserPermissionsPanel();
cy.get( '.settings-allowed-roles input[type="checkbox"]' ).uncheck( {
multiple: true,
} );
Expand Down Expand Up @@ -517,6 +518,7 @@ describe( '[Language processing] Classify content (IBM Watson - NLU) Tests', ()
cy.visitFeatureSettings( 'language_processing&provider=watson_nlu' );

// Enable access for all roles.
cy.openUserPermissionsPanel();
cy.get( '.settings-allowed-roles input[type="checkbox"]' ).check( {
multiple: true,
} );
Expand All @@ -531,6 +533,7 @@ describe( '[Language processing] Classify content (IBM Watson - NLU) Tests', ()
// Opt Out from feature.
cy.visitFeatureSettings( 'language_processing&provider=watson_nlu' );
// Enable access for all roles.
cy.openUserPermissionsPanel();
cy.get( '.settings-allowed-roles input[type="checkbox"]' ).check( {
multiple: true,
} );
Expand Down

0 comments on commit 66a87db

Please sign in to comment.