Skip to content

Commit bdb2c45

Browse files
committed
test(org): wait for the retention list to show what the route answered
1 parent 5a1b023 commit bdb2c45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/platform/embedded/app/(shell)/settings/_components/sections/data-retention/data-retention-section.round-trip.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,6 @@ describe('DataRetentionSection across saves', () => {
254254

255255
await click('Save')
256256

257-
expect(container.textContent).toContain('Log 90d')
257+
await vi.waitFor(() => expect(container.textContent).toContain('Log 90d'))
258258
})
259259
})

0 commit comments

Comments
 (0)