diff --git a/dashboard-prime/src/skills-display/components/progress/skill/SkillProgressNameRow.vue b/dashboard-prime/src/skills-display/components/progress/skill/SkillProgressNameRow.vue
index b26629ac3c..eb35ef12e2 100644
--- a/dashboard-prime/src/skills-display/components/progress/skill/SkillProgressNameRow.vue
+++ b/dashboard-prime/src/skills-display/components/progress/skill/SkillProgressNameRow.vue
@@ -191,14 +191,14 @@ const skillId = computed(() => {
-
-
+
/ {{ numFormat.pretty(numSkillsRequired) }} Skill{{ (numSkillsRequired === 1) ? '' : 's' }}
{{ someSkillsAreOptional ? 'Required' : '' }}
diff --git a/e2e-tests/cypress/e2e/client-display/client-display-features_spec.js b/e2e-tests/cypress/e2e/client-display/client-display-features_spec.js
index 1cc3ef82a2..4d2513b9ef 100644
--- a/e2e-tests/cypress/e2e/client-display/client-display-features_spec.js
+++ b/e2e-tests/cypress/e2e/client-display/client-display-features_spec.js
@@ -88,6 +88,47 @@ describe('Client Display Features Tests', () => {
cy.get('[data-cy="newSoftwareVersion"]').should('not.exist')
})
+ it('skills-client - display new version banner when software is updated', () => {
+ cy.ignoreSkillsClientError()
+ cy.createSubject(1, 1);
+ cy.intercept('/api/projects/proj1/subjects/subj1/rank').as('getSubjRank')
+ cy.intercept({ url: '/api/projects/proj1/subjects/subj1/summary*', times: 1 }, (req) => {
+ req.reply((res) => {
+ res.send(200, {
+ 'subject': 'Subject 1',
+ 'subjectId': 'subj1',
+ 'description': 'Description',
+ 'skillsLevel': 0,
+ 'totalLevels': 5,
+ 'points': 0,
+ 'totalPoints': 0,
+ 'todaysPoints': 0,
+ 'levelPoints': 0,
+ 'levelTotalPoints': 0,
+ 'skills': [],
+ 'iconClass': 'fa fa-question-circle',
+ 'helpUrl': 'http://doHelpOnThisSubject.com'
+ }, { 'skills-client-lib-version': dateFormatter(new Date()) })
+ })
+ })
+ .as('getSubjectSummary')
+ cy.intercept('GET', '/api/projects/proj1/pointHistory')
+ .as('pointHistoryChart')
+
+ cy.visit('/test-skills-client/proj1/?enableTheme=true')
+ cy.wrapIframe().find('[data-cy="skillTreePoweredBy"]')
+ cy.wrapIframe().find('[data-cy="pointHistoryChartNoData"]')
+ cy.wrapIframe().find('[data-cy="myRankPosition"]')
+ cy.wrapIframe().find('[data-cy="subjectTileBtn"]')
+
+ cy.wrapIframe().find('[data-cy="subjectTileBtn"]').click()
+ cy.wrapIframe().find('[data-cy="skillTreePoweredBy"]')
+ cy.wrapIframe().find('[data-cy="pointHistoryChartNoData"]')
+ cy.wrapIframe().find('[data-cy="myRankPosition"]')
+
+ cy.wrapIframe().find('[data-cy="newSoftwareVersion"]').contains('New SkillTree Software Version')
+ })
+
it('skills-client: display new version banner when software is updated', () => {
cy.intercept('/api/projects/proj1/summary').as('proj1Summary')
cy.intercept('/api/projects/proj1/subjects/subj1/summary*', (req) => {
diff --git a/e2e-tests/cypress/e2e/client-display/client-display-theme_spec.js b/e2e-tests/cypress/e2e/client-display/client-display-theme_spec.js
index 0c34a70745..a3924fa764 100644
--- a/e2e-tests/cypress/e2e/client-display/client-display-theme_spec.js
+++ b/e2e-tests/cypress/e2e/client-display/client-display-theme_spec.js
@@ -796,49 +796,4 @@ describe('Client Display Tests', () => {
cy.matchSnapshotImageForElement('[data-cy="selfReportMsgInput"]');
})
- it('in theme -display new version banner when software is updated', () => {
- cy.ignoreSkillsClientError()
- cy.createSubject(1, 1);
- cy.intercept('/api/projects/proj1/subjects/subj1/rank').as('getSubjRank')
- cy.intercept({ url: '/api/projects/proj1/subjects/subj1/summary*', times: 1 }, (req) => {
- req.reply((res) => {
- res.send(200, {
- 'subject': 'Subject 1',
- 'subjectId': 'subj1',
- 'description': 'Description',
- 'skillsLevel': 0,
- 'totalLevels': 5,
- 'points': 0,
- 'totalPoints': 0,
- 'todaysPoints': 0,
- 'levelPoints': 0,
- 'levelTotalPoints': 0,
- 'skills': [],
- 'iconClass': 'fa fa-question-circle',
- 'helpUrl': 'http://doHelpOnThisSubject.com'
- }, { 'skills-client-lib-version': dateFormatter(new Date()) })
- })
- })
- .as('getSubjectSummary')
- cy.intercept('GET', '/api/projects/proj1/pointHistory')
- .as('pointHistoryChart')
-
- cy.visit('/test-skills-client/proj1/?enableTheme=true')
- cy.wrapIframe().find('[data-cy="skillTreePoweredBy"]')
- cy.wrapIframe().find('[data-cy="pointHistoryChartNoData"]')
- cy.wrapIframe().find('[data-cy="myRankPosition"]')
- cy.wrapIframe().find('[data-cy="subjectTileBtn"]')
-
- cy.wrapIframe().find('[data-cy="subjectTileBtn"]').click()
- cy.wrapIframe().find('[data-cy="skillTreePoweredBy"]')
- cy.wrapIframe().find('[data-cy="pointHistoryChartNoData"]')
- cy.wrapIframe().find('[data-cy="myRankPosition"]')
-
- cy.wrapIframe().find('[data-cy="newSoftwareVersion"]').contains('New SkillTree Software Version')
-
- cy.wait(4000)
- cy.matchSnapshotImageForElement('body iframe', { errorThreshold: 0.05 })
-
-
- })
});