feat(console): show user/project on new auth input (#5116)

Prefills user and project searchfields with results for authorization creation
This commit is contained in:
Miguel Cabrerizo
2023-02-02 10:29:36 +01:00
committed by GitHub
parent 5704c44117
commit 1fa50c8074
3 changed files with 41 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ describe('permissions', () => {
it('should add a manager', () => {
cy.get('[data-e2e="add-member-button"]').click();
cy.get('[data-e2e="add-member-input"]').type(testManagerLoginname);
cy.get('[data-e2e="user-option"]').click();
cy.get('[data-e2e="user-option"]').first().click();
cy.contains('[data-e2e="role-checkbox"]', roles[0]).click();
cy.get('[data-e2e="confirm-add-member-button"]').click();
cy.shouldConfirmSuccess();