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.
8 lines
1.3 KiB
JavaScript
Executable File
8 lines
1.3 KiB
JavaScript
Executable File
'use strict';
|
|
/**
|
|
* @license Angular
|
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
* License: MIT
|
|
*/
|
|
function _(A){A.__load_patch("fetch",(s,l,f)=>{let u=s.fetch;if(typeof u!="function")return;let y=s[f.symbol("fetch")];y&&(u=y);let P=s.Promise,T=f.symbol("thenPatched"),m=f.symbol("fetchTaskScheduling"),h=s.Response,g=function(){},b=(t,n,e,c,d,r)=>new Promise((p,v)=>{let a=l.current.scheduleMacroTask(t,g,n,()=>{let i,k=l.current;try{k[m]=!0,i=e.apply(c,d)}catch(o){v(o);return}finally{k[m]=!1}if(!(i instanceof P)){let o=i.constructor;o[T]||f.patchThen(o)}i.then(o=>{a.state!=="notScheduled"&&a.invoke(),p(o)},o=>{a.state!=="notScheduled"&&a.invoke(),v(o)})},()=>{r==null||r.abort()})});s.fetch=function(){let t=Array.prototype.slice.call(arguments),n=t.length>1?t[1]:{},e=n==null?void 0:n.signal,c=new AbortController,d=c.signal;n.signal=d,t[1]=n;let r;if(e){let p=e[l.__symbol__("addEventListener")]||e.addEventListener;r=()=>c.abort(),p.call(e,"abort",r,{once:!0})}return b("fetch",{fetchArgs:t},u,this,t,c).finally(()=>{e==null||e.removeEventListener("abort",r)})},h!=null&&h.prototype&&["arrayBuffer","blob","formData","json","text"].filter(t=>typeof h.prototype[t]=="function").forEach(t=>{f.patchMethod(h.prototype,t,n=>(e,c)=>b(`Response.${t}`,void 0,n,e,c,void 0))})})}_(Zone);
|