FitTrackee/mpwo_client/e2e/index.test.js
2018-01-07 12:44:25 +01:00

16 lines
313 B
JavaScript

import { Selector } from 'testcafe'
import { TEST_URL } from './utils'
// eslint-disable-next-line no-undef
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()
})