Package tests.airports
Class AirportReferenceLocationTest
java.lang.Object
tests.BaseTest
tests.airports.AirportReferenceLocationTest
@Epic("Airport & City Reference Locations Query")
@Feature("Airport and City Locations")
@Severity(NORMAL)
public class AirportReferenceLocationTest
extends BaseTest
Test class for Airport and City Reference Location API endpoints. Tests querying airport and city
locations by various criteria.
-
Field Summary
FieldsFields inherited from class tests.BaseTest
logger, readProperties, SECRET_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[][]
Data provider for airport location tests.void
Tests the airport reference data locations API endpoint.Methods inherited from class tests.BaseTest
getOauth2Token, setUpSuite
-
Field Details
-
AIRPORT_LOCATIONS
-
-
Constructor Details
-
AirportReferenceLocationTest
public AirportReferenceLocationTest()
-
-
Method Details
-
testAirportReferenceDataLocations
Tests the airport reference data locations API endpoint. Verifies that the API returns correct location data for given search criteria.- Parameters:
airportQuery
- the query parameters and expected results for the test
-
getAirportLocationQuery
Data provider for airport location tests. Loads test data from a JSON file containing various query scenarios and expected results.- Returns:
- an array of test data objects containing query parameters and expected results
-