Skip to content

Commit

Permalink
test: playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jul 7, 2023
1 parent 271c617 commit 8471751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ssr-example/test/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test'
test('simple page', async ({ page }) => {
await page.goto('/example/page')

const h1 = page.getByText('Test page resource')
const h1 = page.locator('h1')

await expect(h1).toHaveAttribute('slot', 'header')
})

0 comments on commit 8471751

Please sign in to comment.