test(app): every shell suite drops late replays after a test
The client journey could fail after it passed: since V1-1.6 the client page reloads its animals after a restore, and that replay outlived the test. One support helper unroutes without waiting, for the three shell specs. Found by the V1-1.6 verifier. Memory: BDR-079, LRN-087 to 089.
This commit is contained in:
1 parent
212392263c
commit
10413478fb
8 files changed
+74
-9
No files matched your search
@@ -9,7 +9,11 @@ import {
|
||||
focusedName,
|
||||
test,
|
||||
} from '../support/browser'
|
||||
import { createAccount, routeToSandbox } from '../support/sandbox'
|
||||
import {
|
||||
createAccount,
|
||||
dropLateReplays,
|
||||
routeToSandbox,
|
||||
} from '../support/sandbox'
|
||||
import { signIn } from '../support/shell'
|
||||
|
||||
// The authenticated shell on the isolated stack: sign-in, dashboard, the
|
||||
@@ -37,6 +41,9 @@ for (const [locale, dict] of LANGUAGES) {
|
||||
test.beforeEach(async ({ context }) => {
|
||||
await routeToSandbox(context)
|
||||
})
|
||||
test.afterEach(async ({ context }) => {
|
||||
await dropLateReplays(context)
|
||||
})
|
||||
|
||||
test('sign-in, dashboard, then the photo confirmation of the account', async ({
|
||||
page,
|
||||
|
||||
Reference in new issue
Block a user