Exemplo n.º 1
0
 /**
  * Given I am on the list of applications When I select "EN" as a language Then the page title is
  * "Configured applications"
  */
 @Test
 public void titleInEnglish() {
   applications.selectLanguage("EN");
   assertEquals("Configured applications", applications.getPageTitle());
 }
Exemplo n.º 2
0
 /**
  * Given I am on the list of applications When I select "FR" as a language Then the page title is
  * "Applications configurées"
  */
 @Test
 public void titleInFrench() {
   applications.selectLanguage("FR");
   assertEquals("Applications configurées", applications.getPageTitle());
 }