Add project files
This commit is contained in:
13
e2e-tests/retry.spec.ts
Normal file
13
e2e-tests/retry.spec.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { test } from "./helpers/test_helper";
|
||||
|
||||
test("retry - should work", async ({ po }) => {
|
||||
await po.setUp();
|
||||
await po.sendPrompt("[increment]");
|
||||
await po.snapshotMessages();
|
||||
|
||||
await po.dismissAllToasts();
|
||||
await po.clickRetry();
|
||||
await po.expectNoToast();
|
||||
// The counter should be incremented in the snapshotted messages.
|
||||
await po.snapshotMessages();
|
||||
});
|
||||
Reference in New Issue
Block a user