private void goToEventPages(EventPage eventPage1, EventPage eventPage2) { eventPage1.go(); eventPage2.go(); eventPage1.isAt(); eventPage2.isAt(); }
private void addTicketsToCartOnBothDrivers(EventPage eventPage1, EventPage eventPage2) { eventPage1.addGeneralAdmissionsToCartForCategory(TICKET_CATEGORY_ID, TICKET_QUANTITY); eventPage2.addGeneralAdmissionsToCartForCategory(TICKET_CATEGORY_ID, TICKET_QUANTITY); }