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.
135 lines
3.2 KiB
JSON
135 lines
3.2 KiB
JSON
{
|
|
"name": "puppeteer",
|
|
"version": "22.15.0",
|
|
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
|
"keywords": [
|
|
"puppeteer",
|
|
"chrome",
|
|
"headless",
|
|
"automation"
|
|
],
|
|
"type": "commonjs",
|
|
"bin": "./lib/esm/puppeteer/node/cli.js",
|
|
"main": "./lib/cjs/puppeteer/puppeteer.js",
|
|
"types": "./lib/types.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types.d.ts",
|
|
"import": "./lib/esm/puppeteer/puppeteer.js",
|
|
"require": "./lib/cjs/puppeteer/puppeteer.js"
|
|
},
|
|
"./internal/*": {
|
|
"import": "./lib/esm/puppeteer/*",
|
|
"require": "./lib/cjs/puppeteer/*"
|
|
},
|
|
"./*": {
|
|
"import": "./*",
|
|
"require": "./*"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"build:docs": "wireit",
|
|
"build": "wireit",
|
|
"clean": "../../tools/clean.mjs",
|
|
"postinstall": "node install.mjs",
|
|
"prepack": "wireit"
|
|
},
|
|
"wireit": {
|
|
"prepack": {
|
|
"command": "tsx ../../tools/cp.ts ../../README.md README.md",
|
|
"files": [
|
|
"../../README.md"
|
|
],
|
|
"output": [
|
|
"README.md"
|
|
]
|
|
},
|
|
"build": {
|
|
"dependencies": [
|
|
"build:tsc",
|
|
"build:types"
|
|
]
|
|
},
|
|
"generate:package-json": {
|
|
"command": "tsx ../../tools/generate_module_package_json.ts lib/esm/package.json",
|
|
"files": [
|
|
"../../tools/generate_module_package_json.ts"
|
|
],
|
|
"output": [
|
|
"lib/esm/package.json"
|
|
]
|
|
},
|
|
"build:docs": {
|
|
"command": "api-extractor run --local --config \"./api-extractor.docs.json\"",
|
|
"files": [
|
|
"api-extractor.docs.json",
|
|
"lib/esm/puppeteer/puppeteer-core.d.ts",
|
|
"tsconfig.json"
|
|
],
|
|
"dependencies": [
|
|
"build:tsc"
|
|
]
|
|
},
|
|
"build:tsc": {
|
|
"command": "tsc -b && tsx ../../tools/chmod.ts 755 lib/cjs/puppeteer/node/cli.js lib/esm/puppeteer/node/cli.js",
|
|
"clean": "if-file-deleted",
|
|
"dependencies": [
|
|
"../puppeteer-core:build",
|
|
"../browsers:build",
|
|
"generate:package-json"
|
|
],
|
|
"files": [
|
|
"src/**"
|
|
],
|
|
"output": [
|
|
"lib/{cjs,esm}/**",
|
|
"!lib/esm/package.json"
|
|
]
|
|
},
|
|
"build:types": {
|
|
"command": "api-extractor run --local && eslint --cache-location .eslintcache --cache --ext=ts --no-ignore --no-eslintrc -c=../../.eslintrc.types.cjs --fix lib/types.d.ts",
|
|
"files": [
|
|
"../../.eslintrc.types.cjs",
|
|
"api-extractor.json",
|
|
"lib/esm/puppeteer/types.d.ts",
|
|
"tsconfig.json"
|
|
],
|
|
"output": [
|
|
"lib/types.d.ts"
|
|
],
|
|
"dependencies": [
|
|
"build:tsc"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"src",
|
|
"install.mjs",
|
|
"!*.test.ts",
|
|
"!*.test.js",
|
|
"!*.test.d.ts",
|
|
"!*.test.js.map",
|
|
"!*.test.d.ts.map",
|
|
"!*.tsbuildinfo"
|
|
],
|
|
"author": "The Chromium Authors",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"cosmiconfig": "^9.0.0",
|
|
"puppeteer-core": "22.15.0",
|
|
"@puppeteer/browsers": "2.3.0",
|
|
"devtools-protocol": "0.0.1312386"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "18.17.15"
|
|
}
|
|
}
|