Skip to content

Commit 36d727d

Browse files
fix: e2e tests
1 parent d327136 commit 36d727d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

e2e/pages/firmware-wizard/flash-firmware.spec.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,16 @@ test.describe.parallel("Flashing", () => {
5353
).toBeTruthy();
5454
expect(
5555
await (
56-
await queries.findByText("Erased", undefined, { timeout: 10000 })
56+
await queries.findByText("Firmware erased", undefined, {
57+
timeout: 10000,
58+
})
5759
).isVisible()
5860
).toBeTruthy();
5961
expect(
6062
await (
61-
await queries.findByText("Flashed", undefined, { timeout: 10000 })
63+
await queries.findByText("FIrmware flashed", undefined, {
64+
timeout: 10000,
65+
})
6266
).isVisible()
6367
).toBeTruthy();
6468
expect(
@@ -99,12 +103,16 @@ test.describe.parallel("Flashing", () => {
99103
).toBeTruthy();
100104
expect(
101105
await (
102-
await queries.findByText("Erased", undefined, { timeout: 10000 })
106+
await queries.findByText("Firmware erased", undefined, {
107+
timeout: 10000,
108+
})
103109
).isVisible()
104110
).toBeTruthy();
105111
expect(
106112
await (
107-
await queries.findByText("Flashed", undefined, { timeout: 10000 })
113+
await queries.findByText("Firmware flashed", undefined, {
114+
timeout: 10000,
115+
})
108116
).isVisible()
109117
).toBeTruthy();
110118
expect(

0 commit comments

Comments
 (0)