🚨 Fix linting errors
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { expect, test } from '@playwright/test'
|
||||
|
||||
test('has title', async ({ page }) => {
|
||||
await page.goto('/')
|
||||
await expect(page).toHaveTitle(/Spot micro controller/)
|
||||
await page.goto('/')
|
||||
await expect(page).toHaveTitle(/Spot micro controller/)
|
||||
})
|
||||
|
||||
test('index page has expected h1', async ({ page }) => {
|
||||
await page.goto('/')
|
||||
await expect(page.getByRole('heading', { name: 'Spot micro controller' }).first()).toBeVisible()
|
||||
await page.goto('/')
|
||||
await expect(page.getByRole('heading', { name: 'Spot micro controller' }).first()).toBeVisible()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user