mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 16:51:41 +03:00
Increase timeout of macOS E2E tests (#11837)
This commit is contained in:
parent
9cf7833de0
commit
f1a283be03
2
.github/workflows/gui.yml
vendored
2
.github/workflows/gui.yml
vendored
@ -436,7 +436,7 @@ jobs:
|
||||
ENSO_IDE_AG_GRID_LICENSE_KEY: ${{ vars.ENSO_AG_GRID_LICENSE_KEY }}
|
||||
ENSO_IDE_MAPBOX_API_TOKEN: ${{ vars.ENSO_MAPBOX_API_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: corepack pnpm -r --filter enso exec playwright test
|
||||
- run: corepack pnpm -r --filter enso exec playwright test --timeout 300000
|
||||
env:
|
||||
DEBUG: "pw:browser log:"
|
||||
ENSO_TEST_USER: ${{ secrets.ENSO_CLOUD_TEST_ACCOUNT_USERNAME }}
|
||||
|
@ -581,12 +581,15 @@ impl JobArchetype for PackageIde {
|
||||
.customize(move |step| {
|
||||
let mut steps = prepare_packaging_steps(target.0, step);
|
||||
const TEST_COMMAND: &str = "corepack pnpm -r --filter enso exec playwright test";
|
||||
let test_step = if target.0 == OS::Linux {
|
||||
shell(format!("xvfb-run {TEST_COMMAND}"))
|
||||
let test_step = match target.0 {
|
||||
OS::Linux => 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 {
|
||||
shell(TEST_COMMAND)
|
||||
.with_env("ENSO_TEST_APP_ARGS", "--no-sandbox"),
|
||||
|
||||
OS::MacOS =>
|
||||
// MacOS CI runners are very slow
|
||||
shell(format!("{TEST_COMMAND} --timeout 300000")),
|
||||
_ => shell(TEST_COMMAND),
|
||||
};
|
||||
let test_step = test_step
|
||||
.with_env("DEBUG", "pw:browser log:")
|
||||
|
Loading…
Reference in New Issue
Block a user