16 строки
434 B
Bash
Executable File
16 строки
434 B
Bash
Executable File
#!/bin/bash
|
|
source ./initialize_test.sh && initialize_test "$@"
|
|
|
|
npm_i playwright-core
|
|
OUTPUT=$(PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm_i --foreground-script playwright)
|
|
if [[ "${OUTPUT}" != *"Skipping browsers download because"* ]]; then
|
|
echo "missing log message that browsers download is skipped"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ -d ./node_modules/playwright/.local-browsers ]]; then
|
|
echo "local browsers folder should be empty"
|
|
exit 1
|
|
fi
|
|
|