60e2149072
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date) - Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class - Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting - Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states - Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions - Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares) - Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline - Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements - Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations - Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary - Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds All tests follow AAA pattern and use data-testid selectors matching Angular version. Total: 245 tests across 10 feature suites.
152 lines
3.7 KiB
JSON
152 lines
3.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Core schema meta-schema",
|
|
"definitions": {
|
|
"schemaArray": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {"$ref": "#"}
|
|
},
|
|
"nonNegativeInteger": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"nonNegativeIntegerDefault0": {
|
|
"allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
|
|
},
|
|
"simpleTypes": {
|
|
"enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
|
|
},
|
|
"stringArray": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"uniqueItems": true,
|
|
"default": []
|
|
}
|
|
},
|
|
"type": ["object", "boolean"],
|
|
"properties": {
|
|
"$id": {
|
|
"type": "string",
|
|
"format": "uri-reference"
|
|
},
|
|
"$schema": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
},
|
|
"$ref": {
|
|
"type": "string",
|
|
"format": "uri-reference"
|
|
},
|
|
"$comment": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"default": true,
|
|
"readOnly": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"examples": {
|
|
"type": "array",
|
|
"items": true
|
|
},
|
|
"multipleOf": {
|
|
"type": "number",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"maximum": {
|
|
"type": "number"
|
|
},
|
|
"exclusiveMaximum": {
|
|
"type": "number"
|
|
},
|
|
"minimum": {
|
|
"type": "number"
|
|
},
|
|
"exclusiveMinimum": {
|
|
"type": "number"
|
|
},
|
|
"maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
"minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
"pattern": {
|
|
"type": "string",
|
|
"format": "regex"
|
|
},
|
|
"additionalItems": {"$ref": "#"},
|
|
"items": {
|
|
"anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
|
|
"default": true
|
|
},
|
|
"maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
"minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
"uniqueItems": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"contains": {"$ref": "#"},
|
|
"maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
"minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
"required": {"$ref": "#/definitions/stringArray"},
|
|
"additionalProperties": {"$ref": "#"},
|
|
"definitions": {
|
|
"type": "object",
|
|
"additionalProperties": {"$ref": "#"},
|
|
"default": {}
|
|
},
|
|
"properties": {
|
|
"type": "object",
|
|
"additionalProperties": {"$ref": "#"},
|
|
"default": {}
|
|
},
|
|
"patternProperties": {
|
|
"type": "object",
|
|
"additionalProperties": {"$ref": "#"},
|
|
"propertyNames": {"format": "regex"},
|
|
"default": {}
|
|
},
|
|
"dependencies": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
|
|
}
|
|
},
|
|
"propertyNames": {"$ref": "#"},
|
|
"const": true,
|
|
"enum": {
|
|
"type": "array",
|
|
"items": true,
|
|
"minItems": 1,
|
|
"uniqueItems": true
|
|
},
|
|
"type": {
|
|
"anyOf": [
|
|
{"$ref": "#/definitions/simpleTypes"},
|
|
{
|
|
"type": "array",
|
|
"items": {"$ref": "#/definitions/simpleTypes"},
|
|
"minItems": 1,
|
|
"uniqueItems": true
|
|
}
|
|
]
|
|
},
|
|
"format": {"type": "string"},
|
|
"contentMediaType": {"type": "string"},
|
|
"contentEncoding": {"type": "string"},
|
|
"if": {"$ref": "#"},
|
|
"then": {"$ref": "#"},
|
|
"else": {"$ref": "#"},
|
|
"allOf": {"$ref": "#/definitions/schemaArray"},
|
|
"anyOf": {"$ref": "#/definitions/schemaArray"},
|
|
"oneOf": {"$ref": "#/definitions/schemaArray"},
|
|
"not": {"$ref": "#"}
|
|
},
|
|
"default": true
|
|
}
|