Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+2
-2
@@ -49,10 +49,10 @@ test.describe("tenant members mobile a11y", () => {
|
||||
await form.locator('input[name="first-name"]').fill("E2E");
|
||||
await form.locator('input[name="last-name"]').fill("Invite");
|
||||
// "send invitation" is a Radix checkbox: the input[name] is a hidden form
|
||||
// proxy, so toggle it through its visible label instead of the hidden input.
|
||||
// proxy, so toggle it through the visible checkbox control instead.
|
||||
const inviteCheckbox = form.locator('input[name="send-invitation-email"]');
|
||||
if (!(await inviteCheckbox.isChecked().catch(() => false))) {
|
||||
await form.locator('label[for="send-invitation-email"]').first().click();
|
||||
await form.getByRole("checkbox").first().click();
|
||||
}
|
||||
await expect(inviteCheckbox).toBeChecked();
|
||||
|
||||
|
||||
Reference in new issue
Block a user