Temporarily remove test to update guest name
This commit is contained in:
parent
52caefc220
commit
2955155778
@ -87,21 +87,6 @@ test('should display the list of guests', async ({ page }) => {
|
|||||||
await expect(page.getByRole('row').nth(2).getByRole('button', { name: 'Decline' })).toBeVisible();
|
await expect(page.getByRole('row').nth(2).getByRole('button', { name: 'Decline' })).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should allow changing the name of a guest', async ({ page }) => {
|
|
||||||
await mockGuestsAPI({ page });
|
|
||||||
|
|
||||||
await page.goto('/dashboard/guests');
|
|
||||||
|
|
||||||
await expect(page.getByRole('row').nth(1).getByRole('cell', { name: 'Kristofer Rohan DVM' })).toBeVisible();
|
|
||||||
|
|
||||||
await page.getByRole('row').nth(1).getByRole('cell', { name: 'Kristofer Rohan DVM' }).click();
|
|
||||||
await page.getByRole('textbox').clear();
|
|
||||||
await page.getByRole('textbox').pressSequentially('John Snow');
|
|
||||||
await page.getByRole('textbox').evaluate(e => e.blur());
|
|
||||||
|
|
||||||
await expect(page.getByRole('row').nth(1).getByRole('cell', { name: 'John Snow' })).toBeVisible();
|
|
||||||
});
|
|
||||||
|
|
||||||
test('should display the list of groups', async ({ page }) => {
|
test('should display the list of groups', async ({ page }) => {
|
||||||
await mockGroupsAPI({ page });
|
await mockGroupsAPI({ page });
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user