UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 56660d25 authored by Michael Martin's avatar Michael Martin
Browse files

fix cypress tests . use data-testid for hopeful stability

parent 7211ac2d
No related branches found
No related tags found
1 merge request!212SKIP UPGRADE Resolve "`gitlab-runner` has a failing cypress test in the BB all-packages pipeline"
Pipeline #4000819 passed
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
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). 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.73.0-bb.1] - 2025-03-06
### Changed
- Changed cypress test to use data-testid
## [0.73.0-bb.0] - 2025-01-22 ## [0.73.0-bb.0] - 2025-01-22
### Changed ### Changed
......
<!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. --> <!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. -->
# gitlab-runner # gitlab-runner
![Version: 0.73.0-bb.0](https://img.shields.io/badge/Version-0.73.0--bb.0-informational?style=flat-square) ![AppVersion: 17.8.0](https://img.shields.io/badge/AppVersion-17.8.0-informational?style=flat-square) ![Maintenance Track: bb_integrated](https://img.shields.io/badge/Maintenance_Track-bb_integrated-green?style=flat-square) ![Version: 0.73.0-bb.1](https://img.shields.io/badge/Version-0.73.0--bb.1-informational?style=flat-square) ![AppVersion: 17.8.0](https://img.shields.io/badge/AppVersion-17.8.0-informational?style=flat-square) ![Maintenance Track: bb_integrated](https://img.shields.io/badge/Maintenance_Track-bb_integrated-green?style=flat-square)
GitLab Runner GitLab Runner
...@@ -62,6 +62,7 @@ helm install gitlab-runner chart/ ...@@ -62,6 +62,7 @@ helm install gitlab-runner chart/
| sessionServer.ingress.enabled | bool | `false` | | | sessionServer.ingress.enabled | bool | `false` | |
| sessionServer.ingress.className | string | `""` | | | sessionServer.ingress.className | string | `""` | |
| sessionServer.ingress.annotations | object | `{}` | | | sessionServer.ingress.annotations | object | `{}` | |
| sessionServer.ingress.tls[0].secretName | string | `"gitlab-runner-session-server"` | |
| rbac.create | bool | `true` | | | rbac.create | bool | `true` | |
| rbac.generatedServiceAccountName | string | `""` | | | rbac.generatedServiceAccountName | string | `""` | |
| rbac.rules | list | `[]` | | | rbac.rules | list | `[]` | |
......
apiVersion: v2 apiVersion: v2
name: gitlab-runner name: gitlab-runner
version: 0.73.0-bb.0 version: 0.73.0-bb.1
appVersion: 17.8.0 appVersion: 17.8.0
description: GitLab Runner description: GitLab Runner
keywords: keywords:
......
...@@ -35,7 +35,8 @@ describe('Gitlab Runner: Run Pipeline', () => { ...@@ -35,7 +35,8 @@ describe('Gitlab Runner: Run Pipeline', () => {
cy.get('div[class="view-line"]').click().type('pipeline-test:{enter}{backspace} stage: test{enter}{backspace} script:{enter}{backspace}{backspace} - echo The pipeline test is successful!{enter}') cy.get('div[class="view-line"]').click().type('pipeline-test:{enter}{backspace} stage: test{enter}{backspace} script:{enter}{backspace}{backspace} - echo The pipeline test is successful!{enter}')
// commit file and start pipeline // commit file and start pipeline
cy.scrollTo('bottom') cy.scrollTo('bottom')
cy.get('button[id="commit-changes"]').click() cy.get('button[data-testid="blob-edit-header-commit-button"]').click()
cy.get('button[data-testid="commit-change-modal-commit-button').click()
}) })
// Go to pipelines page // Go to pipelines page
cy.url().should('eq', `${Cypress.env('url')}/root/${Cypress.env('gitlab_project')}/-/blob/main/.gitlab-ci.yml`) cy.url().should('eq', `${Cypress.env('url')}/root/${Cypress.env('gitlab_project')}/-/blob/main/.gitlab-ci.yml`)
......
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