From 91566b27e005332b462b827bc13ff43e7000d2dc Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 20 May 2018 20:30:30 +0200 Subject: [PATCH] test fix --- Makefile | 2 +- mpwo_client/e2e/activities.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2436333a..f756314f 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ serve-react: serve: $(MAKE) P="serve-react serve-python" make-p -test-e2e: +test-e2e: init-db $(NPM) test test-python: diff --git a/mpwo_client/e2e/activities.test.js b/mpwo_client/e2e/activities.test.js index c30a6d09..43b092a4 100644 --- a/mpwo_client/e2e/activities.test.js +++ b/mpwo_client/e2e/activities.test.js @@ -24,7 +24,7 @@ test('standard user should be able to add a workout (w/o gpx)', async t => { await t .navigateTo(`${TEST_URL}/activities/add`) .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('select').filter('[name="sport_id"]')) .click(Selector('option').filter('[value="1"]'))