mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 18:00:06 +01:00
16 lines
384 B
TypeScript
16 lines
384 B
TypeScript
|
import { test, expect } from '@playwright/test'
|
||
|
|
||
|
test.beforeEach(async ({ page }) => {
|
||
|
await page.goto(`/thanks`)
|
||
|
})
|
||
|
|
||
|
test('meta is correct', async ({ page }) => {
|
||
|
await expect(page).toHaveTitle(/Thanks/)
|
||
|
})
|
||
|
|
||
|
test('rainbowkit works', async ({ page }) => {
|
||
|
// open and close modal
|
||
|
await page.getByTestId('rk-connect-button').click()
|
||
|
await page.getByLabel('Close').click()
|
||
|
})
|