WEBVTT

00:00:02.721 --> 00:00:03.255
Open: /admin/beauticians/16

00:00:03.255 --> 00:00:03.876
Select: getByRole("tab", name: /documents|dokumen/i)

00:00:03.876 --> 00:00:03.975
Enter the field value: locator("#beautician-document-type")

00:00:03.975 --> 00:00:04.025
Enter the field value: locator("#beautician-document-file")

00:00:04.014 --> 00:00:04.212
Select: getByRole("button", name: /add document|tambah dokumen/i)

00:00:04.212 --> 00:00:04.539
Verify: getByRole("listitem").filter({ has: locator("a[href$=\"/documents/7/download\"]") })

00:00:04.539 --> 00:00:04.644
Select: getByRole("listitem").filter({ has: locator("a[href$=\"/documents/6/download\"]") }) >> getByRole("button", name: /reject|tolak/i)

00:00:04.644 --> 00:00:07.600
Verify: getByRole("listitem").filter({ has: locator("a[href$=\"/documents/6/download\"]") }) >> getByText(/rejected|ditolak/i)
