Skip to content

Commit f269721

Browse files
committed
remove screenshot tests
1 parent d966fa3 commit f269721

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

tests/e2e/code-snippets-list.spec.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,13 @@ test.describe('Code Snippets List Page Actions', () => {
2828

2929
await expect(toggleSwitch).toHaveAttribute('title', 'Deactivate')
3030

31-
// Check that the toggle is rendered to the right (active)
32-
await expect(snippetRow).toHaveScreenshot('snippet-row-active.png')
33-
3431
await toggleSwitch.click()
3532
await page.waitForLoadState('networkidle')
3633

3734
const updatedRow = page.locator(`tr:has-text("${TEST_SNIPPET_NAME}")`)
3835
const updatedToggle = updatedRow.locator('a.snippet-activation-switch')
3936
await expect(updatedToggle).toHaveAttribute('title', 'Activate')
4037

41-
// Check that the toggle is rendered to the left (inactive)
42-
await expect(updatedRow).toHaveScreenshot('snippet-row-inactive.png')
4338

4439
await updatedToggle.click()
4540
await page.waitForLoadState('networkidle')
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)