Skip to content

Commit

Permalink
#2474 Modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalizer committed Nov 28, 2023
1 parent 62998c1 commit b8f2232
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,13 @@ describe('Metrics Tests - Achievements', () => {

const m = moment.utc('2020-09-12 11', 'YYYY-MM-DD HH');
cy.request('POST', `/api/projects/proj1/skills/skill1`, {
userId: 'user0Good@skills.org',
userId: 'user0good@skills.org',
timestamp: m.clone()
.subtract(1, 'day')
.format('x')
});
cy.request('POST', `/api/projects/proj1/skills/skill2`, {
userId: 'user0Good@skills.org',
userId: 'user0good@skills.org',
timestamp: m.clone()
.subtract(4, 'day')
.format('x')
Expand All @@ -223,7 +223,7 @@ describe('Metrics Tests - Achievements', () => {
cy.validateTable(tableSelector, [
[{
colIndex: 0,
value: 'user0Good@skills.org'
value: 'user0good@skills.org'
}, {
colIndex: 1,
value: 'Skill'
Expand All @@ -239,7 +239,7 @@ describe('Metrics Tests - Achievements', () => {
}],
[{
colIndex: 0,
value: 'user0Good@skills.org'
value: 'user0good@skills.org'
}, {
colIndex: 1,
value: 'Skill'
Expand Down

0 comments on commit b8f2232

Please sign in to comment.