UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 6a0dece9 authored by Nigel Bazzeghin's avatar Nigel Bazzeghin
Browse files

cypress test update

parent ac04c6f5
No related branches found
No related tags found
No related merge requests found
Pipeline #3734056 passed
This commit is part of merge request !344. Comments created here will be created in the context of that merge request.
......@@ -114,7 +114,7 @@ describe('Create Gitlab Project', () => {
//Browse to created user and delete
cy.visit(`${Cypress.env('url')}/admin/users/${Cypress.env('gitlab_username')}`)
cy.get('div[data-testid="user-actions-3"]').find('button[data-testid="base-dropdown-toggle"]').click()
cy.get(`div[data-qa-username="${Cypress.env('gitlab_username')}"]`).find('button[data-testid="base-dropdown-toggle"]').click()
cy.get('li[data-testid="delete-deleteWithContributions"]').find('button').click()
cy.get('input[name="username"]').type(`${Cypress.env('gitlab_first_name')} ${Cypress.env('gitlab_last_name')}`)
cy.contains('span', 'Delete user and contributions').click({force: true})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment