diff --git a/package.json b/package.json index c3a8e43..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", + "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,