playwright/.github/workflows
Andrey Lushnikov a87794dae6
fix: demand --force to re-install stable browser channels (#13200)
This patch will check if browser channel is already installed.
If it is, it'll abort installation with the following error:

```
aslushnikov:~/prog/playwright$ npx playwright install msedge
Failed to install browsers
Error:
╔═════════════════════════════════════════════════════════════════╗
║ ATTENTION: "msedge" is already installed on the system!         ║
║                                                                 ║
║ "msedge" installation is not hermetic; installing newer version ║
║ requires *removal* of a current installation first.             ║
║                                                                 ║
║ To *uninstall* current version and re-install latest "msedge":  ║
║                                                                 ║
║ - Close all running instances of "msedge", if any               ║
║ - Use "--force" to install browser:                             ║
║                                                                 ║
║     npx playwright install --force msedge                       ║
║                                                                 ║
║ <3 Playwright Team                                              ║
╚═════════════════════════════════════════════════════════════════╝
```

To re-install browser channel, use `--force`.

Fixes https://github.com/microsoft/playwright/issues/13061
2022-04-01 10:05:53 -07:00
..
component_tests.yml chore: add ct examples (#12693) 2022-03-11 15:46:11 -08:00
infra.yml devops: audit prod npm dependencies (#12959) 2022-03-22 20:46:45 +01:00
pr_check_client_side_changes.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
publish_canary.yml devops: Docker publishing cleanups (#12341) 2022-02-24 18:10:34 +01:00
publish_release_docker.yml devops: Docker publishing cleanups (#12341) 2022-02-24 18:10:34 +01:00
publish_release_driver.yml chore: work-around npm install on windows (#11726) 2022-01-29 07:56:50 -08:00
publish_release_npm.yml chore: work-around npm install on windows (#11726) 2022-01-29 07:56:50 -08:00
publish_release_traceviewer.yml devops: split release workflow into many (#11310) 2022-01-10 14:05:48 -08:00
roll_browser_into_playwright.yml chore: work-around npm install on windows (#11726) 2022-01-29 07:56:50 -08:00
roll_chromium_build.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
tests_fyi.yml chore: fix Android tests (#12325) 2022-02-24 06:57:32 +01:00
tests_primary.yml devops: fix uploading test runner reports on windows (#13232) 2022-03-31 15:56:28 -07:00
tests_secondary.yml fix: demand --force to re-install stable browser channels (#13200) 2022-04-01 10:05:53 -07:00
trigger_build_chromium_with_symbols.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
trigger_build_chromium.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
trigger_build_ffmpeg.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
trigger_build_firefox_beta.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
trigger_build_firefox.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
trigger_build_webkit.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
trigger_build_winldd.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
trigger_tests.yml devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00