Skip to content

Commit ef3340d

Browse files
lxsmnsycclaude
andcommitted
test(async): accept either order of the loads a wait lists
solid-js rc.20 lists posts before user. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 6d3f885 commit ef3340d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tests/e2e/devtools.spec.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,8 @@ test('shows async loads, waits, fallbacks and chains', async ({ page }) => {
599599
);
600600

601601
// The click held the write until both loads landed, and nothing on screen said so.
602-
const wait = rows.filter({ hasText: 'wait on user, posts' }).first();
602+
// solid-js rc.20 lists what the click waited on in a different order than rc.13.
603+
const wait = rows.filter({ hasText: /wait on (user, posts|posts, user)/ }).first();
603604
await expect(wait).toContainText('no pending state shown');
604605
await wait.click();
605606
const detail = page.locator('[data-solid-async-detail]');

0 commit comments

Comments
 (0)