UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit dc5a8916 authored by Andrew Shoell's avatar Andrew Shoell
Browse files

Merge branch 'update-cypress-configs' into 'main'

SKIP UPGRADE update cypress configs

See merge request !99
parents ad231c9c cb2abe17
No related branches found
No related tags found
1 merge request!99SKIP UPGRADE update cypress configs
Pipeline #2293586 passed
......@@ -2,6 +2,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.52.0-bb.7] - 2023-10-05
### Changed
- Update cypress tests for compatibility with latest gitlab version (7.4.1)
## [0.52.0-bb.6] - 2023-09-21
### Changed
- Update securityContext to enforce run-as-non-root-group
......
# gitlab-runner
![Version: 0.52.0-bb.6](https://img.shields.io/badge/Version-0.52.0--bb.6-informational?style=flat-square) ![AppVersion: v15.11.0](https://img.shields.io/badge/AppVersion-v15.11.0-informational?style=flat-square)
![Version: 0.52.0-bb.7](https://img.shields.io/badge/Version-0.52.0--bb.7-informational?style=flat-square) ![AppVersion: v15.11.0](https://img.shields.io/badge/AppVersion-v15.11.0-informational?style=flat-square)
GitLab Runner
......
apiVersion: v2
name: gitlab-runner
version: 0.52.0-bb.6
version: 0.52.0-bb.7
appVersion: v15.11.0
description: GitLab Runner
keywords:
......
......@@ -19,7 +19,7 @@ describe('Gitlab Signup', () => {
cy.get('.validation-error').then(($userexist) => {
if ($userexist.hasClass('hide')) {
cy.get('input[id="new_user_password"]').type(Cypress.env('gitlab_password'))
cy.get('button[data-qa-selector="new_user_register_button"]').click()
cy.get('button[data-testid="new-user-register-button"]').click()
}
})
})
......
......@@ -16,13 +16,13 @@ describe('Gitlab Login', () => {
// approve new user
cy.visit('/admin/users')
cy.get('a[data-qa-selector="pending_approval_tab"]').click()
cy.get('a[data-testid="pending-approval-tab"]').click()
cy.get('body').then($body => {
if ($body.find('div[data-qa-selector="user_actions_dropdown_toggle"] > button').length > 0 ) {
cy.get('div[data-qa-selector="user_actions_dropdown_toggle"] > button').click()
if ($body.find('div[data-testid="user-actions-dropdown-toggle"] > button').length > 0 ) {
cy.get('div[data-testid="user-actions-dropdown-toggle"] > button').click()
cy.get('li[data-testid="approve"] > button').click()
cy.get('button[data-qa-selector="approve_user_confirm_button"]').click()
cy.get('button[data-testid="approve-user-confirm-button"]').click()
}
})
})
......
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