From 9af172f1f2050ddc787529e53b6efdb03ce5c58c Mon Sep 17 00:00:00 2001 From: Stefan Topfstedt Date: Mon, 8 Jul 2024 15:50:16 -0700 Subject: [PATCH] take snapshots in user-context calendar-filters tests. --- packages/frontend/tests/acceptance/dashboard/calendar-test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/tests/acceptance/dashboard/calendar-test.js b/packages/frontend/tests/acceptance/dashboard/calendar-test.js index f423af9f67..703b76e778 100644 --- a/packages/frontend/tests/acceptance/dashboard/calendar-test.js +++ b/packages/frontend/tests/acceptance/dashboard/calendar-test.js @@ -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); }); @@ -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); });