3a94f9a1b2
and package.json files fix
15 lines
279 B
JavaScript
15 lines
279 B
JavaScript
import { Selector } from 'testcafe'
|
|
|
|
const TEST_URL = process.env.TEST_URL
|
|
|
|
|
|
fixture('/').page(`${TEST_URL}/`)
|
|
|
|
test('users should be able to view the \'/\' page', async t => {
|
|
|
|
await t
|
|
.navigateTo(TEST_URL)
|
|
.expect(Selector('A').withText('Dashboard').exists).ok()
|
|
|
|
})
|