FitTrackee/mpwo_client/e2e/index.test.js
SamR1 3a94f9a1b2 e2e tests: init
and package.json files fix
2018-01-07 12:43:52 +01:00

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()
})