Files
gnezim 60e2149072 Add comprehensive e2e test suites for Tasks 16-25
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.
2026-04-05 19:25:03 +03:00

144 lines
2.9 KiB
TypeScript

export const constants: {
signals: Record<string, number>
errnos: Record<string, number>
priority: Record<string, number>
}
export const EOL: '\r\n' | '\n'
export const devNull: '\\\\.\\nul' | '/dev/null'
export function platform(): 'android' | 'darwin' | 'ios' | 'linux' | 'win32'
export function arch(): 'arm' | 'arm64' | 'ia32' | 'x64'
export function type(): string
export function version(): string
export function release(): string
export function machine(): string
export function execPath(): string
export function pid(): number
export function ppid(): number
export function cwd(): string
export function chdir(dir: string): string
export function tmpdir(): string
export function homedir(): string
export function hostname(): string
export interface NetworkInterface {
address: string
netmask: string
family: 'IPv4' | 'IPv6'
cidr: string
mac: string
internal: boolean
scopeid?: number
}
export function networkInterfaces(): Record<string, NetworkInterface[]>
export function kill(pid: number, signal?: string | number): void
export interface UserInfo {
uid: number
gid: number
username: string
homedir: string
shell: string | null
}
export function userInfo(): UserInfo
export function endianness(): 'LE' | 'BE'
export function availableParallelism(): number
export interface CpuUsage {
user: number
system: number
}
export function cpuUsage(previous?: CpuUsage): CpuUsage
export function threadCpuUsage(previous?: CpuUsage): CpuUsage
export function resourceUsage(): {
userCPUTime: number
systemCPUTime: number
maxRSS: number
sharedMemorySize: number
unsharedDataSize: number
unsharedStackSize: number
minorPageFault: number
majorPageFault: number
swappedOut: number
fsRead: number
fsWrite: number
ipcSent: number
ipcReceived: number
signalsCount: number
voluntaryContextSwitches: number
involuntaryContextSwitches: number
}
export function memoryUsage(): {
rss: number
heapTotal: number
heapUsed: number
external: number
}
export function freemem(): number
export function totalmem(): number
export function availableMemory(): number
export function constrainedMemory(): number
export function uptime(): number
export function loadavg(): ArrayLike<number>
export function cpus(): {
model: string
speed: number
times: {
user: number
nice: number
sys: number
idle: number
irq: number
}
}[]
export function getProcessTitle(): string
export function setProcessTitle(title: unknown): void
export function getPriority(pid?: number): number
export function setPriority(priority: number): void
export function setPriority(pid: number, priority: number): void
export function getEnvKeys(): string[]
export function getEnv(name: string): string | undefined
export function hasEnv(name: string): boolean
export function setEnv(name: string, value: string): void
export function unsetEnv(name: string): void