예제 #1
0
  /** simulate page injection before init */
  @Before
  public void before() {
    page = new InjectedPageAccueil();
    page.testVariable = "test";
    reference = page;

    initFluent(driver);
    initTest();
  }
예제 #2
0
 @Test
 public void checkGoToOnInjectedPage() {
   page.go();
   Assertions.assertThat(title()).contains("Selenium");
 }