on master help sign in
Added category filters to visual tests (#28)
commit3d6a07602cbb2475624660c038bfad5343d9dd1d authoriko <ilyakooo0@gmail.com> dateMon 21 Nov 2022, 15:08 (4 years ago) parentc511a99
5 files changed+36
tests/src/test.spec.ts+36 tests/src/test.spec.ts-snapshots/Cards-view-1-Pixel-3-linux.png tests/src/test.spec.ts-snapshots/Contacts-view-1-Pixel-3-linux.png tests/src/test.spec.ts-snapshots/Notes-view-1-Pixel-3-linux.png tests/src/test.spec.ts-snapshots/Passwords-view-1-Pixel-3-linux.png
tests/src/test.spec.ts+36
@@ -217,4 +217,40 @@ if (process.env.RECORD_TEST === "true") {
217217
218218 await screenshot(page)
219219 })
220+
221+ test('Passwords view', async ({ page }) => {
222+ await logIn(page)
223+
224+ await page.getByRole('button').nth(1).click();
225+ await page.getByText('Passwords').click();
226+
227+ await screenshot(page)
228+ })
229+
230+ test('Notes view', async ({ page }) => {
231+ await logIn(page)
232+
233+ await page.getByRole('button').nth(1).click();
234+ await page.getByText('Notes').click();
235+
236+ await screenshot(page)
237+ })
238+
239+ test('Cards view', async ({ page }) => {
240+ await logIn(page)
241+
242+ await page.getByRole('button').nth(1).click();
243+ await page.getByText('Cards').click();
244+
245+ await screenshot(page)
246+ })
247+
248+ test('Contacts view', async ({ page }) => {
249+ await logIn(page)
250+
251+ await page.getByRole('button').nth(1).click();
252+ await page.getByText('Contacts').click();
253+
254+ await screenshot(page)
255+ })
220256}
tests/src/test.spec.ts-snapshots/Cards-view-1-Pixel-3-linux.pngnew file

Binary file not shown.

tests/src/test.spec.ts-snapshots/Contacts-view-1-Pixel-3-linux.pngnew file

Binary file not shown.

tests/src/test.spec.ts-snapshots/Notes-view-1-Pixel-3-linux.pngnew file

Binary file not shown.

tests/src/test.spec.ts-snapshots/Passwords-view-1-Pixel-3-linux.pngnew file

Binary file not shown.