Jacobvu84 / screenplay-cucumber-webdriver

The demo shows the integration of Serenity BDD, Screenplay and Cucumber JVM.
1 stars 1 forks source link

Pass parameter to Target #13

Open Jacobvu84 opened 5 years ago

Jacobvu84 commented 5 years ago
public static final Target SEASON_TICKET_TYPE = Target.the("'{0}' season ticket").locatedBy("//label[.='{0}']");
seeThat(the(SEASON_TICKET_TYPE.of(expectedOption)), isVisible())

example