Skip to content

Commit

Permalink
take snapshots in user-context calendar-filters tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
stopfstedt committed Jul 8, 2024
1 parent afa0daa commit 9af172f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/frontend/tests/acceptance/dashboard/calendar-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ module('Acceptance | Dashboard Calendar', function (hooks) {
assert.expect(1);
await setupAuthentication({ school: this.school }, true);
await page.visit({ show: 'calendar' });
await percySnapshot(assert);
assert.ok(page.calendar.controls.userContextFilter.isPresent);
});

Expand All @@ -517,6 +518,7 @@ module('Acceptance | Dashboard Calendar', function (hooks) {
await page.visit({ show: 'calendar' });
assert.ok(page.calendar.controls.userContextFilter.isPresent);
await page.calendar.controls.mySchedule.toggle.secondLabel.click();
await percySnapshot(assert);
assert.notOk(page.calendar.controls.userContextFilter.isPresent);
});

Expand Down

0 comments on commit 9af172f

Please sign in to comment.