From 12e1fc1b9bab70ef9e13e0c8250e5d5b5fda105a Mon Sep 17 00:00:00 2001 From: Micah Nagel Date: Mon, 30 Aug 2021 19:54:05 +0000 Subject: [PATCH] Update to 5.38.2 --- CHANGELOG.md | 6 ++++++ chart/Chart.yaml | 2 +- chart/tests/cypress/mattermost-health.spec.js | 21 ++++++------------- chart/values.yaml | 2 +- 4 files changed, 14 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2641dc..dadcd69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ 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.2.0-bb.0] - 2021-08-27 +### Changed +- Updated to latest IB 5.38.2 +- Modified tests to remove buggy "site name" test and accomodate the new "tutorial" setup + ## [0.1.8-bb.0] - 2021-08-19 ### Fix - Fixes issue with default bucket creation already existing diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 04735b4..e438218 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: mattermost type: application -version: "0.1.8-bb.1" +version: "0.2.0-bb.0" appVersion: "5.37.0" description: "Deployment of mattermost" keywords: diff --git a/chart/tests/cypress/mattermost-health.spec.js b/chart/tests/cypress/mattermost-health.spec.js index ffb3a95..d96ba21 100644 --- a/chart/tests/cypress/mattermost-health.spec.js +++ b/chart/tests/cypress/mattermost-health.spec.js @@ -41,16 +41,19 @@ describe('Mattermost Healthcheck', function() { cy.title().should('include', 'Town Square - Big Bang') } }) + cy.get("body").then($body => { - if ($body.find('a[id="tutorialSkipLink"]').length > 0) { - cy.get('a[id="tutorialSkipLink"]').click() + if ($body.find('button[class="SidebarNextSteps__close"]').length > 0) { + cy.get('button[class="SidebarNextSteps__close"]').click() + cy.get('button[type="submit"] > span').contains("Remove").click() } - }) + }) }) it('should allow chatting', function() { let randomChat = "Hello " + Math.random().toString(36).substring(8); cy.get('textarea[id="post_textbox"]').type(randomChat).type('{enter}') + cy.reload() cy.get('p').contains(randomChat).should('be.visible') }) @@ -62,16 +65,4 @@ describe('Mattermost Healthcheck', function() { cy.get('span').contains("Test Connection").click() cy.get('div[class="alert alert-success"]').should('be.visible') }) - - it('should save settings changes', function() { - cy.get('button[aria-label="main menu"]').click() - cy.get('a[href="/admin_console"]').click() - - cy.get('a[id="site_config/customization"]').click() - let randomName = Math.random().toString(36).substring(8); - cy.get('input[id="TeamSettings.SiteName"]').clear().type(randomName) - cy.get('button[id="saveSetting"]').click() - cy.reload() - cy.title().should('include', randomName) - }) }) diff --git a/chart/values.yaml b/chart/values.yaml index 7bc3460..65f2da5 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -36,7 +36,7 @@ sso: # Repo and image tag image: name: registry1.dso.mil/ironbank/opensource/mattermost/mattermost - tag: 5.37.0 + tag: 5.38.2 imagePullPolicy: IfNotPresent global: -- GitLab