Skip to content

Commit

Permalink
fix: playwright в GA снова включен, отключены лишь snapshot'ы
Browse files Browse the repository at this point in the history
  • Loading branch information
mxseev committed Feb 8, 2022
1 parent 7383c56 commit 6a38099
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/playwright-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on: [pull_request]

jobs:
run-playwright:
if: ${{ false }} # disabled for now
name: Run Playwright
runs-on: ubuntu-latest
env:
Expand Down
7 changes: 6 additions & 1 deletion tests/snapshots/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import {test} from "@playwright/test"
import {snapshot} from "../utils"

test("index page snapshot", ({page}) => snapshot(page, "/", "index.png"))
test.describe("page snapshots", () => {
// TODO: fix screenshots in Github Actions
if (process.env.CI) test.skip()

test("index", ({page}) => snapshot(page, "/", "index.png"))
})

0 comments on commit 6a38099

Please sign in to comment.