♻️ Remove headlessui (#1124)

This commit is contained in:
Luke Vella 2024-05-29 15:01:40 +12:00 committed by GitHub
parent efa4f03353
commit e9fb86516d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 182 additions and 327 deletions

View file

@ -26,7 +26,8 @@ test.describe("edit options", () => {
editOptionsPage.switchToSpecifyTimes();
await page.click("text='12:00 PM'");
await page.click("text='1:00 PM'");
const listbox = page.getByRole("listbox");
listbox.getByText("1:00 PM", { exact: true }).click();
await page.getByRole("button", { name: "Save" }).click();
await expect(page.locator('text="Are you sure?"')).toBeVisible();
await page.click("text='Delete'");