mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
13 lines
385 B
TypeScript
13 lines
385 B
TypeScript
import { getTextContent, sleep } from '../../utils'
|
|
|
|
describe(`in Gitako project page`, () => {
|
|
beforeAll(() => page.goto('https://github.com/GitakoExtension/test-empty'))
|
|
|
|
it('should render error message', async () => {
|
|
await sleep(5000)
|
|
|
|
expect(await getTextContent('#gitako-logo-mount-point .error-message')).toBe(
|
|
'This project seems to be empty.',
|
|
)
|
|
})
|
|
})
|