Пример #1
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());
 }
Пример #2
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());
 }
Пример #3
0
 /** Following languages should be available on the home page. */
 @Test
 public void availableLanguages() {
   // Asserts the languages
   Collection<String> actualLanguages = applications.getLanguages();
   assertEquals(asList("EN", "FR"), actualLanguages);
 }