Skip to content

Commit 6f2a893

Browse files
committed
chore: fix visual tests (Punctuation)
1 parent a102d13 commit 6f2a893

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

demo/scripts/playwright-docker.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,14 @@ fi
6666

6767
if [[ "$1" = "update" ]]; then
6868
echo "Running playwright tests (update)"
69+
EXTRA_ARGS=""
70+
if [[ $# -ge 2 ]]; then
71+
for arg in "${@:2}"; do
72+
EXTRA_ARGS="$EXTRA_ARGS $(printf '%q' "$arg")"
73+
done
74+
fi
6975
run_command 'COREPACK_INTEGRITY_KEYS=0 corepack pnpm --filter '@gravity-ui/*' build'
70-
run_command 'COREPACK_INTEGRITY_KEYS=0 corepack pnpm --filter '@markdown-editor/demo' run playwright:update'
76+
run_command "cd demo && COREPACK_INTEGRITY_KEYS=0 corepack pnpm exec playwright test --config=tests/playwright/playwright.config.ts -u $EXTRA_ARGS"
7177
exit 0
7278
fi
7379

Loading
Loading

0 commit comments

Comments
 (0)