@Beforepublic void keepScenario(Scenario scenario) { this.scenario = scenario;}
@When("^I search for a return flight from (.*) to (.*)$")public void searchesForReturnFlight(String origin, String destination) throws Exception { flyer.searches_for_return_flights(origin, destination);
scenario.write("Test");}
--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is not currently supported. Where would you expect the written text to appear?
On 14 September 2017 at 08:18, 'Lewis O Brien' via Serenity BDD Users Group <thucydid...@googlegroups.com> wrote:
Hi.Is scenario.write supported?I have attempted to use this but all I see in the report is "message"My steps:
@Beforepublic void keepScenario(Scenario scenario) {this.scenario = scenario;}@When("^I search for a return flight from (.*) to (.*)$")public void searchesForReturnFlight(String origin, String destination) throws Exception {flyer.searches_for_return_flights(origin, destination);scenario.write("Test");}
But the report just displays "message", as per attached screenshot.serenity-cucumber 1.5.4serenity-core 1.5.9Thanks.
--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.