File tree Expand file tree Collapse file tree
pageComponents/productShoppingComponent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ type MyFixtures = {
2727 * @description custom fixtures to promote reusability and prevent repeating same workflows in each test file
2828 */
2929export const test = base . extend < MyFixtures > ( {
30- loadAppAndLogin : async ( { page, context } , use ) => {
30+ loadAppAndLogin : async ( { page } , use ) => {
3131 let loginPage = new LoginPage ( page ) ;
3232 await loginPage . loadApp ( ) ;
3333 await loginPage . login ( ) ;
3434 await use ( loginPage ) ;
3535 } ,
36- loadApplication : async ( { page, context } , use ) => {
36+ loadApplication : async ( { page } , use ) => {
3737 let lumaMainPage = new LumaMainPage ( page ) ;
3838 await lumaMainPage . loadApp ( ) ;
3939 await use ( lumaMainPage ) ;
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ export interface ClientSideValiationErrorOptionalParamsInterface {
3434 validationErrorTextList ?: string [ ] ,
3535}
3636
37-
3837export interface UserShippingDetailsParams {
3938 company ?: string ,
4039 streetAddress ?: string ,
Original file line number Diff line number Diff line change @@ -236,7 +236,6 @@ export class LumaMainPage extends BasePage {
236236 }
237237 expect ( validationErrorNthIndex ) . toEqual ( options ?. validationErrorsIndexes ) ;
238238 expect ( validationErrorTextList ) . toEqual ( options ?. validationErrorTextList ) ;
239-
240239 }
241240
242241 public async getInputFieldsValues ( inputFields : Locator [ ] ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ export class ItemShoppingComponentPage extends BasePage {
1919 /**
2020 * @description function to choose a product item with flexible options to choose from
2121 * @param productName
22- * @param options represents the optional param interface with flexible options to choose a product item with the conditions that you choos
22+ * @param options represents the optional param interface with flexible options to choose a product item with the
23+ * attributes that you choose
2324 * in the test
2425 */
2526 public async chooseProductItem ( productName : string , options ?: ProductItemOptionalParamsInterface ) {
You can’t perform that action at this time.
0 commit comments