add playwright layout

This commit is contained in:
Joel Wetzell
2026-04-03 18:48:32 -05:00
parent 653c65c00f
commit 6008d261f7
9 changed files with 215 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
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/);
});