Skip to content

Commit 5acb17e

Browse files
committed
ci: install browsers with deps
Signed-off-by: Saw-jan <[email protected]>
1 parent 0442b8e commit 5acb17e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.drone.star

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def e2eTests(ctx):
445445
"name": "install-browser",
446446
"image": OC_CI_NODEJS,
447447
"commands": [
448-
"pnpm exec playwright install",
448+
"pnpm exec playwright install --with-deps",
449449
],
450450
"volumes": [
451451
{
@@ -454,11 +454,13 @@ def e2eTests(ctx):
454454
},
455455
],
456456
}]
457+
depends_on = []
457458
for idx, browser in enumerate(BROWSERS):
458459
status = ["success"]
459460
if idx > 0:
460461
# allow other browsers step to run even if one fails
461462
status.append("failure")
463+
depends_on.append("e2e-%s" % BROWSERS[idx - 1])
462464

463465
e2e_test_steps.append({
464466
"name": "e2e-%s" % browser,

0 commit comments

Comments
 (0)