mirror of
https://github.com/jwetzell/showbridge-webui.git
synced 2026-08-19 21:23:59 +00:00
formatting
This commit is contained in:
+3
-6
@@ -1,15 +1,12 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test.beforeEach(async ({page})=>{
|
||||
await page.goto('/')
|
||||
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/);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user