Browse Source

Update: locator for gifting button in homeview

web-serve-fix
Jose Olarte III 1 week ago
parent
commit
bf5fd0b5ce
  1. 3
      test-playwright/00-noid-tests.spec.ts

3
test-playwright/00-noid-tests.spec.ts

@ -182,7 +182,8 @@ test('Check User 0 can register a random person', async ({ page }) => {
await page.goto('./');
await page.getByTestId('closeOnboardingAndFinish').click();
await page.getByRole('heading', { name: 'Unnamed/Unknown' }).click();
await page.getByRole('button', { name: 'Person' }).click();
await page.getByRole('listitem').filter({ hasText: 'Unnamed' }).locator('svg').click();
await page.getByPlaceholder('What was given').fill('Gave me access!');
await page.getByRole('button', { name: 'Sign & Send' }).click();
await expect(page.getByText('That gift was recorded.')).toBeVisible();

Loading…
Cancel
Save