diff --git a/dashboard-prime/src/components/metrics/projectAchievements/AchievementsNavigator.vue b/dashboard-prime/src/components/metrics/projectAchievements/AchievementsNavigator.vue index f4cac698aa..f7d31c6674 100644 --- a/dashboard-prime/src/components/metrics/projectAchievements/AchievementsNavigator.vue +++ b/dashboard-prime/src/components/metrics/projectAchievements/AchievementsNavigator.vue @@ -182,10 +182,10 @@ const reloadTable = () => { {{ slotProps.data.userName }} -
- +
+ - +
diff --git a/e2e-tests/cypress/e2e/metrics/projectMetrics_achievements_spec.js b/e2e-tests/cypress/e2e/metrics/projectMetrics_achievements_spec.js index 321ca9209e..5375a65e02 100644 --- a/e2e-tests/cypress/e2e/metrics/projectMetrics_achievements_spec.js +++ b/e2e-tests/cypress/e2e/metrics/projectMetrics_achievements_spec.js @@ -199,12 +199,10 @@ describe('Metrics Tests - Achievements', () => { }); - it.skip('achievements table - validate the link to user client display', () => { + it('achievements table - validate the link to user client display', () => { cy.intercept('/admin/projects/proj1/metrics/userAchievementsChartBuilder?**') .as('userAchievementsChartBuilder'); - cy.intercept('/admin/projects/proj1/token/**').as('getToken'); - cy.request('POST', '/admin/projects/proj1/subjects/subj1', { projectId: 'proj1', subjectId: 'subj1', @@ -292,11 +290,10 @@ describe('Metrics Tests - Achievements', () => { .find('[data-cy=achievementsNavigator-clientDisplayBtn]') .click(); - cy.wait('@getToken'); cy.url() .should('include', '/users/user0good@skills.org'); cy.get('[data-cy=subPageHeader]') - .contains('Client Display'); + .contains('User\'s Display'); // userId has lowercase "g" while userIdForDisplay has uppercase "G"; this must be userId cy.get('[data-cy=pageHeader]') .contains('user0good@skills.org');