Enable debug on Windows

This commit is contained in:
Adam Obuchowicz 2024-11-20 15:28:08 +01:00
parent 3487308e6c
commit b8e7cecc30
2 changed files with 3 additions and 0 deletions

View File

@ -523,6 +523,7 @@ jobs:
- run: corepack pnpm -r --filter enso exec playwright test
env:
DEBUG: "pw:browser log:"
ENSO_TEST_APP_ARGS: -debug.verbose
ENSO_TEST_USER: ${{ secrets.ENSO_CLOUD_TEST_ACCOUNT_USERNAME }}
ENSO_TEST_USER_PASSWORD: ${{ secrets.ENSO_CLOUD_TEST_ACCOUNT_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -544,6 +544,8 @@ impl JobArchetype for PackageIde {
shell(format!("xvfb-run {TEST_COMMAND}"))
// See https://askubuntu.com/questions/1512287/obsidian-appimage-the-suid-sandbox-helper-binary-was-found-but-is-not-configu
.with_env("ENSO_TEST_APP_ARGS", "--no-sandbox")
} else if target.0 == OS::Windows {
shell(TEST_COMMAND).with_env("ENSO_TEST_APP_ARGS", "-debug.verbose")
} else {
shell(TEST_COMMAND)
};