Skip to content

Commit 843c186

Browse files
Skip most recorded tests
1 parent ba6ae80 commit 843c186

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

packages/cursorless-vscode-e2e/src/suite/recorded.vscode.test.ts

+19-17
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,26 @@ suite("recorded test cases", async function () {
2424
setupFake(ide, HatStability.stable);
2525
});
2626

27-
getRecordedTestPaths().forEach(({ name, path }) =>
28-
test(
29-
name,
30-
asyncSafety(
31-
async () =>
32-
await runRecordedTest({
33-
path,
34-
spyIde: getSpy()!,
35-
36-
openNewTestEditor,
37-
38-
sleepWithBackoff,
39-
testHelpers: (await getCursorlessApi()).testHelpers!,
40-
runCursorlessCommand,
41-
}),
27+
getRecordedTestPaths()
28+
.slice(0, 1)
29+
.forEach(({ name, path }) =>
30+
test(
31+
name,
32+
asyncSafety(
33+
async () =>
34+
await runRecordedTest({
35+
path,
36+
spyIde: getSpy()!,
37+
38+
openNewTestEditor,
39+
40+
sleepWithBackoff,
41+
testHelpers: (await getCursorlessApi()).testHelpers!,
42+
runCursorlessCommand,
43+
}),
44+
),
4245
),
43-
),
44-
);
46+
);
4547
});
4648

4749
async function openNewTestEditor(

0 commit comments

Comments
 (0)