diff --git a/CHANGELOG.md b/CHANGELOG.md index 8caed1cc6a6035c28331296aef119c862673ba7f..91ce3143e21d9cbfc2cd4dd8bde16180dce98900 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,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). --- +## [1.6.3-bb.1] - 2023-10-27 +### Changed +- Add additional constant output to cypress test for save/test tempo data source + ## [1.6.3-bb.0] - 2023-10-19 ### Changed - Bumped chart version to 1.6.3 diff --git a/README.md b/README.md index 3065a32304a3df9b6dcd9f352e336efee61a88de..8ca11c76187fd63f0365a1a22b2761d7daf1f7dc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # tempo -   +   Grafana Tempo Single Binary Mode diff --git a/chart/Chart.yaml b/chart/Chart.yaml index f95d21096d11e4612a45e017cd2ef973a0bef72e..74a02dc6b9b31849484e054e28cbc95cec6813a3 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: tempo description: Grafana Tempo Single Binary Mode type: application -version: 1.6.3-bb.0 +version: 1.6.3-bb.1 appVersion: 2.2.3 engine: gotpl home: https://grafana.net diff --git a/chart/tests/cypress/e2e/tempo-health.cy.js b/chart/tests/cypress/e2e/tempo-health.cy.js index 9101ab1e286f57d879d989c89b3917006d6b13c6..97b4e1a04cdb4de5d67988dbcd1d0f540a1aae91 100644 --- a/chart/tests/cypress/e2e/tempo-health.cy.js +++ b/chart/tests/cypress/e2e/tempo-health.cy.js @@ -43,6 +43,10 @@ describe('Tempo Test', function () { // Visit the datasources page cy.visit(`${Cypress.env('grafana_url')}/connections/datasources`); + // Set constant for output options to save/test data source + const saveOutputOptions = ['Data source is working', 'Data source successfully connected'] + const saveOutput = new RegExp(`${saveOutputOptions.join('|')}`, 'g') + // Enter 'tempo' in the search field and cy.get('input[placeholder="Search by name or type"]').type('tempo'); // Click on the tempo datasource @@ -50,7 +54,7 @@ describe('Tempo Test', function () { // Click on the 'Save & test` button cy.get('button[type="submit"]').click(); // Check to ensure the data source is working - cy.get('.p-t-2').contains('Data source is working', { timeout: 10000 }); + cy.get('.p-t-2').contains(saveOutput, { timeout: 10000 }); }); after(function () {