Commit 7bf83c30 authored by isstuev's avatar isstuev

update & rename

parent 79871afe
...@@ -4,7 +4,7 @@ jobs: ...@@ -4,7 +4,7 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: mcr.microsoft.com/playwright:v1.26.0-focal image: mcr.microsoft.com/playwright:v1.27.0-focal
steps: steps:
- run: apt-get update && apt-get install git-lfs - run: apt-get update && apt-get install git-lfs
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"prepare": "husky install", "prepare": "husky install",
"format-svg": "./node_modules/.bin/svgo -r ./icons", "format-svg": "./node_modules/.bin/svgo -r ./icons",
"test-ct": "playwright test -c playwright-ct.config.ts", "test-ct": "playwright test -c playwright-ct.config.ts",
"test-docker": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.26.0-focal ./run-tests.sh" "test-docker": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.27.0-focal ./run-tests.sh"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/react": "2.3.1", "@chakra-ui/react": "2.3.1",
......
...@@ -7,6 +7,8 @@ import { devices } from '@playwright/experimental-ct-react'; ...@@ -7,6 +7,8 @@ import { devices } from '@playwright/experimental-ct-react';
const config: PlaywrightTestConfig = { const config: PlaywrightTestConfig = {
testDir: './', testDir: './',
testMatch: /.*\.pw\.tsx/,
/* The base directory, relative to the config file, for snapshot files created with toMatchSnapshot and toHaveScreenshot. */ /* The base directory, relative to the config file, for snapshot files created with toMatchSnapshot and toHaveScreenshot. */
snapshotDir: './__snapshots__', snapshotDir: './__snapshots__',
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment