test fix
This commit is contained in:
parent
f1c24a6edc
commit
91566b27e0
2
Makefile
2
Makefile
@ -44,7 +44,7 @@ serve-react:
|
|||||||
serve:
|
serve:
|
||||||
$(MAKE) P="serve-react serve-python" make-p
|
$(MAKE) P="serve-react serve-python" make-p
|
||||||
|
|
||||||
test-e2e:
|
test-e2e: init-db
|
||||||
$(NPM) test
|
$(NPM) test
|
||||||
|
|
||||||
test-python:
|
test-python:
|
||||||
|
@ -24,7 +24,7 @@ test('standard user should be able to add a workout (w/o gpx)', async t => {
|
|||||||
await t
|
await t
|
||||||
.navigateTo(`${TEST_URL}/activities/add`)
|
.navigateTo(`${TEST_URL}/activities/add`)
|
||||||
.expect(Selector('H1').withText('Dashboard').exists).notOk()
|
.expect(Selector('H1').withText('Dashboard').exists).notOk()
|
||||||
.expect(Selector('H2').withText('Add an activity').exists).ok()
|
.expect(Selector('H2').withText('Add a workout').exists).ok()
|
||||||
.click(Selector('input[name="withoutGpx"]'))
|
.click(Selector('input[name="withoutGpx"]'))
|
||||||
.click(Selector('select').filter('[name="sport_id"]'))
|
.click(Selector('select').filter('[name="sport_id"]'))
|
||||||
.click(Selector('option').filter('[value="1"]'))
|
.click(Selector('option').filter('[value="1"]'))
|
||||||
|
Loading…
Reference in New Issue
Block a user