Skip to content

Commit 2b3c870

Browse files
authored
Fix rbac tests in head version (#329)
* Filter Username to perform further actions * Commented click by Age temporary
1 parent ab18244 commit 2b3c870

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/cypress/support/commands.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,9 @@ Cypress.Commands.add('assignRoleToUser', (userName, roleName) => {
530530

531531
cy.clickButton('Save');
532532
// Sortering by Age so first row is the desired user
533-
cy.contains('Age').should('be.visible').click();
533+
// cy.contains('Age').should('be.visible').click();
534+
// Temporary fix by filtering the userName
535+
cy.filterInSearchBox(userName);
534536
// Verifying name only given in 2.9 there is only icon
535537
cy.verifyTableRow(0, userName, '');
536538
})

0 commit comments

Comments
 (0)