Skip to content

Commit

Permalink
UIを変更 [update snapshots]
Browse files Browse the repository at this point in the history
  • Loading branch information
X-20A committed Jun 14, 2024
1 parent a3b6ef5 commit 56d109c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/e2e/electron/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,18 @@ test("起動したら「利用規約に関するお知らせ」が表示され
VITE_DEV_SERVER_URL: "http://localhost:7357",
},
});
console.log("check1");

const sut = await app.firstWindow({
timeout: process.env.CI ? 60000 : 30000,
});
console.log("check2");

// エンジンが起動し「利用規約に関するお知らせ」が表示されるのを待つ
await sut.waitForSelector("text=利用規約に関するお知らせ", {
timeout: 60000,
});
console.log("check3");
await app.close();
console.log("check4");
});

0 comments on commit 56d109c

Please sign in to comment.