mirror of
https://github.com/jwetzell/showbridge-webui.git
synced 2026-07-26 10:08:40 +00:00
16 lines
351 B
TypeScript
16 lines
351 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
test.beforeEach(async ({page})=>{
|
|
await page.goto('/')
|
|
await expect(page.locator('div').nth(2)).toContainClass('bg-green-400');
|
|
})
|
|
|
|
|
|
test('has title', async ({ page }) => {
|
|
await page.goto('/');
|
|
// Expect a title "to contain" a substring.
|
|
await expect(page).toHaveTitle(/Showbridge/);
|
|
});
|
|
|
|
|