formatting

This commit is contained in:
Joel Wetzell
2026-04-05 18:09:47 -05:00
parent 10ff26e48c
commit e66195d702
24 changed files with 248 additions and 258 deletions
+3 -6
View File
@@ -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/);
});
+5 -5
View File
@@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test'
import { expect, test } from '@playwright/test';
test('add module', async ({ page }) => {
await page.goto('/');
await page.locator('app-module-list').getByText('add').click();
await page.getByRole('menuitem', { name: 'HTTP Server' }).click();
})
await page.goto('/');
await page.locator('app-module-list').getByText('add').click();
await page.getByRole('menuitem', { name: 'HTTP Server' }).click();
});