Package tests.flights
Class FlightInspirationTest
java.lang.Object
tests.BaseTest
tests.flights.FlightInspirationTest
@Epic("Cheapest Flight Date Search")
@Feature("Cheapest 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
-
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
setUpSuite, updateToken
-
Field Details
-
FLIGHT_DATES
-
-
Constructor Details
-
FlightInspirationTest
public FlightInspirationTest()
-
-
Method Details
-
testCheapestFlightDateSearchIsSortedByPrice
public void testCheapestFlightDateSearchIsSortedByPrice()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.
-