From 01f87a99b1272499a977b047daf2bf3fab65ba80 Mon Sep 17 00:00:00 2001 From: Antoine Zanardi Date: Wed, 4 Sep 2024 00:02:05 +0200 Subject: [PATCH] test(werewolves-assistant-web): sharded cucumber tests to prevent timeouts (#13) --- tests/werewolves-assistant.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/werewolves-assistant.ts b/tests/werewolves-assistant.ts index be3be086..929b0f7d 100644 --- a/tests/werewolves-assistant.ts +++ b/tests/werewolves-assistant.ts @@ -10,7 +10,10 @@ export async function test(options: RunOptions) { 'test:unit', 'docker:sandbox-api:start', 'test:cucumber:prepare', - 'test:cucumber:skip-screenshots-comparison', + 'test:cucumber:shard-1:skip-screenshots-comparison', + 'test:cucumber:shard-2:skip-screenshots-comparison', + 'test:cucumber:shard-3:skip-screenshots-comparison', + 'test:cucumber:shard-4:skip-screenshots-comparison', ], }) }