From 709d62e376eb5db89f8b1fdb414014ac6a52b954 Mon Sep 17 00:00:00 2001 From: Jan Molak Date: Fri, 8 Dec 2017 15:47:53 +0000 Subject: [PATCH] Fixes #1 --- package.json | 4 ++-- src/journey_planner/journeys_found.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8d72dab..4321793 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "clean": "rimraf target", "lint": "tslint --config ./tslint.json --project ./tsconfig.json --format stylish", "pretest": "serenity update", - "pree2e": "npm run lint && npm run webdriver:update -- --standalone --versions.standalone=2.53.1 --versions.chrome=2.29", + "pree2e": "npm run lint && npm run webdriver:update -- --standalone --versions.standalone=2.53.1", "e2e": "protractor ./protractor.conf.js --cucumberOpts.name 'Connie looks for the next train'", "report": "serenity run", "test": "failsafe clean e2e report", @@ -33,7 +33,7 @@ "protractor": "5.1.2", "rimraf": "2.6.1", "serenity-cli": ">= 0.4.0", - "serenity-js": ">= 1.7.0", + "serenity-js": ">= 1.10.1", "ts-node": "3.0.6", "tslint": "5.4.3", "tslint-microsoft-contrib": "5.0.0", diff --git a/src/journey_planner/journeys_found.ts b/src/journey_planner/journeys_found.ts index b434720..947d3c5 100644 --- a/src/journey_planner/journeys_found.ts +++ b/src/journey_planner/journeys_found.ts @@ -9,7 +9,7 @@ export interface JourneySummary { arrivalTime: string; } -export const JourneysFound = () => Question.where(`#actor checks the results`, actor => +export const JourneysFound = () => Question.about(`the journeys found`, actor => BrowseTheWeb.as(actor).locateAll(JourneyResults.List). map(resultsToJourneySummaries) as PromiseLike,