Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Sep 25, 2023
1 parent 2be9ee8 commit 146663b
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ test("ツールバーのカスタマイズでボタンを追加でき、デフ
await page.waitForTimeout(100);
await expect(page.getByText("ツールバーのカスタマイズ")).toBeVisible();

// // 全部書き出しボタンを追加する
// expect(
// await page.getByRole("button").filter({ hasText: "全部書き出し" }).count()
// ).toBe(0);
// await page.getByRole("listitem").filter({ hasText: "全部書き出し" }).click();
// expect(
// await page.getByRole("button").filter({ hasText: "全部書き出し" }).count()
// ).toBe(1);
// await page.getByText("保存", { exact: true }).click();
// await getNewestQuasarDialog(page)
// .getByRole("button")
// .filter({ hasText: "close" })
// .click();
// 全部書き出しボタンを追加する
expect(
await page.getByRole("button").filter({ hasText: "全部書き出し" }).count()
).toBe(0);
await page.getByRole("listitem").filter({ hasText: "全部書き出し" }).click();
expect(
await page.getByRole("button").filter({ hasText: "全部書き出し" }).count()
).toBe(1);
await page.getByText("保存", { exact: true }).click();
await getNewestQuasarDialog(page)
.getByRole("button")
.filter({ hasText: "close" })
.click();

// 閉じたあとに全部書き出しボタンが追加されてることを確認
await page.waitForTimeout(100);
Expand Down

0 comments on commit 146663b

Please sign in to comment.