first commit
This commit is contained in:
15
test/index.test.ts
Normal file
15
test/index.test.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { beforeAll, describe, expect, it } from 'vitest'
|
||||
|
||||
describe('test title', () => {
|
||||
let page: Page
|
||||
beforeAll(async () => {
|
||||
page = await program.currentPage()
|
||||
await page.waitFor(3000)
|
||||
})
|
||||
|
||||
it('check uni-helper logo label', async () => {
|
||||
const el = await page.$('.uni-helper-logo__label')
|
||||
const titleText = await el.text()
|
||||
expect(titleText).toEqual('uni-helper')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user