import { test, expect } from '@playwright/test'; test('has title', async({ page }) => { await page.goto('/Sandbox'); // Expect a title "to contain" a substring. await expect(page).toHaveTitle(/Sandbox/); }); test('get h1', async({ page }) => { await page.goto('/Sandbox'); // Expects page to have a heading with the name of Installation. await expect(page.getByRole('heading', { name: 'Sandbox' })).toBeVisible(); });