Package org.springframework.springfaces.integrationtest.selenium.page

Examples of org.springframework.springfaces.integrationtest.selenium.page.PageObject


  @Rule
  public Pages pages = new ShowcasePages();

  @Test
  public void shouldGetSimpleRequestMapping() throws Exception {
    PageObject page = this.pages.get(SimpleRequestMappingPage.class);
    assertThat(page.getBodyText(), is("Simple @RequestMapping"));
  }
View Full Code Here


    assertThat(page.getBodyText(), is("Simple @RequestMapping"));
  }

  @Test
  public void shouldGetStringRequestMapping() throws Exception {
    PageObject page = this.pages.get(StringRequestMappingPage.class);
    assertThat(page.getBodyText(), is("@RequestMapping Mapped By String Name"));
  }
View Full Code Here

    assertThat(page.getBodyText(), is("@RequestMapping Mapped By String Name"));
  }

  @Test
  public void shouldGetModelAndViewRequestMapping() throws Exception {
    PageObject page = this.pages.get(ModelAndViewRequestMappingPage.class);
    assertThat(page.getBodyText(), is("ModelAndView @RequestMapping"));
  }
View Full Code Here

  @Rule
  public Pages pages = new ShowcasePages();

  @Test
  public void shouldSupportFacesConverterForClass() throws Exception {
    PageObject page = this.pages.get(FacesConverterForClassPage.class);
    assertThat(page.getBodyText(), is("Conversion for class : 123 from forClassFacesConverter"));
  }
View Full Code Here

    assertThat(page.getBodyText(), is("Conversion for class : 123 from forClassFacesConverter"));
  }

  @Test
  public void shouldSupportFacesConverterByID() throws Exception {
    PageObject page = this.pages.get(FacesConverterByIdPage.class);
    assertThat(page.getBodyText(), is("Conversion by ID : 123 from byIdFacesConverter"));
  }
View Full Code Here

    assertThat(page.getBodyText(), is("Conversion by ID : 123 from byIdFacesConverter"));
  }

  @Test
  public void shouldSupportSpringBeanConverter() throws Exception {
    PageObject page = this.pages.get(SpringBeanConverterPage.class);
    assertThat(page.getBodyText(), is("Conversion by ID : 123 from springBeanConverter"));
  }
View Full Code Here

    assertThat(page.getConversionText(), is("Conversion by ID : 123 from genericSpringBeanConverter"));
  }

  @Test
  public void shouldSupportSpringBeanForClass() throws Exception {
    PageObject page = this.pages.get(SpringBeanForClassConverterPage.class);
    assertThat(page.getBodyText(), is("Conversion by Class : 123 from forClassSpringConverter"));
  }
View Full Code Here

  @Rule
  public Pages pages = new ShowcasePages();

  @Test
  public void shouldSupportSimpleMessages() throws Exception {
    PageObject page = this.pages.get(SimpleMessagePage.class);
    assertThat(page.getBodyText(), is("Simple Hello"));
  }
View Full Code Here

    assertThat(page.getBodyText(), is("Simple Hello"));
  }

  @Test
  public void shouldSupportSpecifiedPrefix() throws Exception {
    PageObject page = this.pages.get(PrefixMessagePage.class);
    assertThat(page.getBodyText(), is("Prefix Hello"));
  }
View Full Code Here

    assertThat(page.getBodyText(), is("Prefix Hello"));
  }

  @Test
  public void shouldSupportDefinedSource() throws Exception {
    PageObject page = this.pages.get(DefinedSourceMessagePage.class);
    assertThat(page.getBodyText(), is("Defined Source Hello"));
  }
View Full Code Here

TOP

Related Classes of org.springframework.springfaces.integrationtest.selenium.page.PageObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.