@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)); }
@After(value = "@Meetings", order = 999) public void afterMeetingScenario() { apiMeetingMethods.deleteMeeting(mainTabletPage.getMainTitle(), meetingEntity.getSubject()); }
@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())); }