package Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration Ċ Ċ import Ġorg . junit . jupiter . api . Method Order er Ċ import Ġorg . junit . jupiter . api . Order Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . junit . jupiter . api . TestMethod Order Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . domain . move . Move Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . domain . price . Supplier Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Dec 2 0 2 0 Move Data . cancelled Move M 6 0 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Dec 2 0 2 0 Move Data . lock out Move M 4 0 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Dec 2 0 2 0 Move Data . long Ha ul Move M 3 0 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Dec 2 0 2 0 Move Data . multi Move M 5 0 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Dec 2 0 2 0 Move Data . redirect Move M 2 0 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Dec 2 0 2 0 Move Data . standard Move M 4 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Pages . Choose Supplier Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Pages . Dashboard Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Pages . Login Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Pages . Move Details Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Pages . Moves ByType Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Pages . Select Month Year Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Ser co Previous Month Move Data . cancelled Move CM 1 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Ser co Previous Month Move Data . lock out Move LM 1 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Ser co Previous Month Move Data . long Ha ul Move L HM 1 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Ser co Previous Month Move Data . multi Move MM 1 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Ser co Previous Month Move Data . redirect Move RM 1 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . Ser co Previous Month Move Data . standard Move SM 1 Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . integration . pages . previous Month Ċ import Ġjava . time . LocalDate Ċ import Ġjava . time . Month Ċ import Ġjava . time . Year Ċ Ċ @ TestMethod Order ( Method Order er . Order Annotation :: class ) Ċ internal Ġclass ĠView All Move Types Test Ġ: ĠIntegration Test () Ġ{ ĊĊĠ Ġprivate Ġval Ġcurrent Date Ġ= ĠLocalDate . now () ĊĊĠ Ġprivate Ġval Ġyear Ġ= ĠYear . now () ĊĊĠ Ġ@ Test ĊĠ Ġ@ Order ( 1 ) ĊĠ Ġfun Ġ` view Ġone Ġof Ġeach Ġmove Ġtype Ġfor ĠSer co Ġin Ġprevious Ġmonth `() Ġ{ ĊĠĠĠ Ġgo To Page ( Dashboard ) ĊĊĠĠĠ Ġis At Page ( Login ). login () ĊĊĠĠĠ Ġis At Page ( Choose Supplier ). choose ( Supplier . SER CO ) ĊĊĠĠĠ Ġis At Page ( Dashboard ) ĊĠĠĠĠĠ Ġ. is At Month Year ( current Date . month , Ġyear ) ĊĠĠĠĠĠ Ġ. navigate To Select Month Page () ĊĊĠĠĠ Ġis At Page ( Select Month Year ). navigate To Dashboard For ( current Date . previous Month (), Ġyear ) ĊĊĠĠĠ ĠlistOf ( ĊĠĠĠĠĠ Ġstandard Move SM 1 (), ĊĠĠĠĠĠ Ġredirect Move RM 1 (), ĊĠĠĠĠĠ Ġlong Ha ul Move L HM 1 (), ĊĠĠĠĠĠ Ġlock out Move LM 1 (), ĊĠĠĠĠĠ Ġmulti Move MM 1 (), ĊĠĠĠĠĠ Ġcancelled Move CM 1 () ĊĠĠĠ Ġ). forEach Ġ{ Ġmove Ġ-> Ġverify Details Of ( move , Ġcurrent Date . previous Month (), ĠYear . now ()) Ġ} ĊĠ Ġ} ĊĊĠ Ġ@ Test ĊĠ Ġ@ Order ( 2 ) ĊĠ Ġfun Ġ` view Ġone Ġof Ġeach Ġmove Ġtype Ġfor ĠG EOA me y Ġin ĠDec Ġ 2 0 2 0 `() Ġ{ ĊĠĠĠ Ġgo To Page ( Dashboard ) ĊĊĠĠĠ Ġis At Page ( Login ). login () ĊĊĠĠĠ Ġis At Page ( Choose Supplier ). choose ( Supplier . GEO AME Y ) ĊĊĠĠĠ Ġis At Page ( Dashboard ) ĊĠĠĠĠĠ Ġ. is At Month Year ( current Date . month , Ġyear ) ĊĠĠĠĠĠ Ġ. navigate To Select Month Page () ĊĊĠĠĠ Ġis At Page ( Select Month Year ). navigate To Dashboard For ( Month . DE CE MBER , ĠYear . of ( 2 0 2 0 )) ĊĊĠĠĠ ĠlistOf ( ĊĠĠĠĠĠ Ġstandard Move M 4 (), ĊĠĠĠĠĠ Ġlong Ha ul Move M 3 0 (), ĊĠĠĠĠĠ Ġredirect Move M 2 0 (), ĊĠĠĠĠĠ Ġlock out Move M 4 0 (), ĊĠĠĠĠĠ Ġmulti Move M 5 0 (), ĊĠĠĠĠĠ Ġcancelled Move M 6 0 () ĊĠĠĠ Ġ). forEach Ġ{ Ġmove Ġ-> Ġverify Details Of ( move , ĠMonth . DE CE MBER , ĠYear . of ( 2 0 2 0 )) Ġ} ĊĠ Ġ} ĊĊĠ Ġprivate Ġfun Ġverify Details Of ( move : ĠMove , Ġmonth : ĠMonth , Ġyear : ĠYear ) Ġ{ ĊĠĠĠ Ġgo To Page ( Dashboard ) ĊĊĠĠĠ Ġis At Page ( Dashboard ) ĊĠĠĠĠĠ Ġ. is At Month Year ( month , Ġyear ) ĊĠĠĠĠĠ Ġ. navigate To Moves By ( move . move Type !! ) ĊĊĠĠĠ Ġis At Page ( Moves ByType ) ĊĠĠĠĠĠ Ġ. is At Page For ( move . move Type !! ) ĊĠĠĠĠĠ Ġ. navigate To Details For ( move ) ĊĊĠĠĠ Ġis At Page ( Move Details ). is At Page For ( move ) ĊĠ Ġ} Ċ } Ċ