2
0

presentation.spec.ts 469 B

12345678910111213
  1. import { test, expect } from '@playwright/test';
  2. test('Presentation', async({ page }) => {
  3. await page.goto('/');
  4. // show presentation modal
  5. await page.getByTestId('grw-contextual-sub-nav').getByTestId('open-page-item-control-btn').click();
  6. await page.getByTestId('open-presentation-modal-btn').click();
  7. // check the content of the h1
  8. await expect(page.getByRole('application').getByRole('heading', { level: 1 }))
  9. .toHaveText(/Welcome to GROWI/);
  10. });