Package tests.flights
Class FlightInspirationTest
java.lang.Object
tests.BaseTest
tests.flights.FlightInspirationTest
@Epic("Chepeast Flight Date Search")
@Feature("Chepeast Flight Date Search")
@Severity(NORMAL)
public class FlightInspirationTest
extends BaseTest
Test class for Flight Inspiration Search API endpoints. Tests functionality for finding and
validating cheapest flight dates.
-
Field Summary
FieldsFields inherited from class tests.BaseTest
logger, readProperties, SECRET_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Tests that the flight date search results are correctly sorted by price.Methods inherited from class tests.BaseTest
getOauth2Token, setUpSuite
-
Field Details
-
FLIGHT_DATES
-
-
Constructor Details
-
FlightInspirationTest
public FlightInspirationTest()
-
-
Method Details
-
testChepestFlightDateSearchIsSortedbyPrice
public void testChepestFlightDateSearchIsSortedbyPrice()Tests that the flight date search results are correctly sorted by price. Verifies that flights between Madrid (MAD) and London (LON) are returned in ascending order of price.
-