Skip to content

Commit e709b5f

Browse files
authored
tutorial: stop trying to use snapshot in tests (#2556)
- Might address #2554 ## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [-] I have not broken the cheatsheet
1 parent 8dd3901 commit e709b5f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ async function runBasicTutorialTest(spyIde: SpyIDE) {
164164
await checkStepSetup(fixtures[0]);
165165

166166
// Test automatic advancing
167-
await runCursorlessCommand(fixtures[0].command);
167+
await runCursorlessCommand({
168+
...fixtures[0].command,
169+
usePrePhraseSnapshot: false,
170+
});
168171
await checkStepSetup(fixtures[1]);
169172

170173
// Test restarting tutorial

0 commit comments

Comments
 (0)