Skip to content

Commit bb1fe89

Browse files
committed
remove redundunt spaces in code
1 parent 15320f6 commit bb1fe89

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

helpers/fixtures/customFixtures/CustomFixtures.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
*/
2929
export 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);

helpers/optionalParamsInterfaces/OptionalParams.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export interface ClientSideValiationErrorOptionalParamsInterface {
3434
validationErrorTextList?: string[],
3535
}
3636

37-
3837
export interface UserShippingDetailsParams {
3938
company?: string,
4039
streetAddress?: string,

pages/LumaMainPage.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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[]) {

pages/pageComponents/productShoppingComponent/ItemShoppingPage.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)