UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Cypress updates

Merged Jimmy Bourque requested to merge cypress-updates into main
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -89,6 +89,10 @@ describe('Create Gitlab Project and Cleanup Resources Created', () => {
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})
//Wait for user deletion to complete before validating user no longer exists
//Unfortunately, there is no API call to listen to here so it has to be an explicit wait
cy.wait(3000)
//Validate user is gone
cy.visit(`${Cypress.env('url')}/admin/users?search_query=${Cypress.env('gitlab_email')}&sort=name_asc`)
cy.should('contains', "No users found")
Loading