コード例 #1
0
 @And("^the Meeting information should be displayed in the Next section of Main page$")
 public void theMeetingInformationShouldBeDisplayedInTheNextSection() {
   mainTabletPage = schedulePage.goMainPage();
   String nameMeeting = meetingEntity.getSubject();
   assertTrue(mainTabletPage.isMeetingPresent(nameMeeting));
   assertTrue(mainTabletPage.isMeetingPresentInNextSection(nameMeeting));
   assertEquals(nameMeeting, mainTabletPage.getNameMeetingInNextSection(nameMeeting));
 }
コード例 #2
0
 @And("^the Meeting should be listed in the Meetings of Room using the API$")
 public void theMeetingShouldBeListedInTheMeetingsOfRoomUsingTheAPI() {
   String nameRoom = mainTabletPage.getMainTitle();
   String nameMeeting = meetingEntity.getSubject();
   assertEquals(nameRoom, apiMeetingMethods.getMeetingValues(nameMeeting, "location", nameRoom));
   assertEquals(nameMeeting, apiMeetingMethods.getMeetingValues(nameMeeting, "title", nameRoom));
 }
コード例 #3
0
 @Given("^I navigate to Available section$")
 public void navigate_available_sections() {
   schedulePage = mainTabletPage.clickAvailableSection();
 }
コード例 #4
0
 @After(value = "@Meetings", order = 999)
 public void afterMeetingScenario() {
   apiMeetingMethods.deleteMeeting(mainTabletPage.getMainTitle(), meetingEntity.getSubject());
 }
コード例 #5
0
 @And("^the Meeting should not be listed in the meetings of Room using the API$")
 public void theMeetingShouldNotBeListedInTheMeetingsOfRoomUsingTheAPI() {
   assertFalse(
       apiMeetingMethods.isMeetingPresent(
           meetingEntity.getSubject(), "title", mainTabletPage.getMainTitle()));
 }
コード例 #6
0
 @And("^the meeting information should not be displayed in the Next section of Main page$")
 public void theMeetingInformationShouldBeRemovedFromTheNextSection() {
   mainTabletPage = schedulePage.goMainPage();
   assertFalse(mainTabletPage.isMeetingPresent(meetingEntity.getSubject()));
 }
コード例 #7
0
 @And("^the second Meeting information should not be displayed in the Next section$")
 public void theSecondMeetingInformationShouldNotBeDisplayedInTheNextSection() {
   mainTabletPage = schedulePage.goMainPage();
   assertFalse(mainTabletPage.isMeetingPresent(meetingEntity2.getSubject()));
 }