Logo
Explore Help
Register Sign In
yujunjun/playwright
1
0
Fork 0
You've already forked playwright
mirror of https://github.com/microsoft/playwright.git synced 2025-06-26 21:40:17 +00:00
Code Issues Packages Projects Releases Wiki Activity
playwright/installation-tests/test_playwright_electron_should_work.sh

10 lines
249 B
Bash
Raw Normal View History

chore: refactor installation tests (#12054) This patch refactors installation tests. With this refactoring: - each test is a separate file - to run a single test, just run the bash file * tests support optional `--no-build` flag to re-use previously built packages. * tests support optional `--debug` flag to see line-by-line test output * failed tests print a line that can be copied-and-pasted locally to debug the test - run all tests with `//installation-tests/run_all_tests.sh` * test output is hidden for successful runs when run locally and is shown when test fails * runs all tests, and reports failed tests in the end * command output is split into groups when viewed on Github.
2022-02-11 18:06:37 -07:00
#!/bin/bash
source ./initialize_test.sh && initialize_test "$@"
npm install ${PLAYWRIGHT_CORE_TGZ}
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm install ${PLAYWRIGHT_TGZ}
npm install electron@9.0
echo "Running sanity-electron.js"
node sanity-electron.js
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 311ms Template: 20ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API