Stabilize E2E test by alphabetically sorting files for context (#321)

This commit is contained in:
Will Chen
2025-06-03 17:58:59 -07:00
committed by GitHub
parent c227a08d11
commit b8f7490288
5 changed files with 36 additions and 16 deletions

View File

@@ -1,10 +1,7 @@
import { testSkipIfWindows } from "./helpers/test_helper";
import { test } from "./helpers/test_helper";
// This is useful to make sure the messages are being sent correctly.
//
// Why skip on Windows? The file ordering is not stable between runs
// but unclear why.
testSkipIfWindows("dump messages", async ({ po }) => {
test("dump messages", async ({ po }) => {
await po.setUp();
await po.sendPrompt("[dump]");
await po.snapshotServerDump();