Skip to content

Commit

Permalink
#2462: fixed snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
EVOFORGE\dimay committed Nov 3, 2023
1 parent fe89e41 commit a5f9c30
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,10 @@ describe('Client Display Prerequisites Snapshot Tests', () => {
cy.cdClickSubj(0, 'Subject 1');

cy.wait(4000);
cy.matchSnapshotImage(`Subject-WithLockedSkills-ThatWerePartiallyAchieved`);
cy.matchSnapshotImage({
name: 'Subject-WithLockedSkills-ThatWerePartiallyAchieved',
blackout: '[data-cy="pointHistoryChart"]'
});

cy.cdClickSkill(0);
cy.contains('Very Great Skill 1');
Expand Down Expand Up @@ -369,7 +372,10 @@ describe('Client Display Prerequisites Snapshot Tests', () => {
cy.cdVisit('/?internalBackButton=true');
cy.cdClickSubj(0, 'Subject 1');

cy.matchSnapshotImage(`Subject-WithLockedSkills-ThatWereFullyAchieved`);
cy.matchSnapshotImage({
name: 'Subject-WithLockedSkills-ThatWereFullyAchieved',
blackout: '[data-cy="pointHistoryChart"]'
});

cy.cdClickSkill(0);
cy.contains('Very Great Skill 1');
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a5f9c30

Please sign in to comment.