@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)); }
@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())); }
@And("^the second Meeting information should not be displayed in the Next section$") public void theSecondMeetingInformationShouldNotBeDisplayedInTheNextSection() { mainTabletPage = schedulePage.goMainPage(); assertFalse(mainTabletPage.isMeetingPresent(meetingEntity2.getSubject())); }