Skip to content

Commit

Permalink
committed
Browse files Browse the repository at this point in the history
  • Loading branch information
An5hul-Choudhary committed Apr 22, 2024
1 parent 9b4732d commit 39256f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ApiTestFirst.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const {test, expect, request} = require('@playwright/test')
const {ApiUtils} = require('./Utils/ApiUtils')
const {ApiUtils} = require('../Utils/ApiUtils')
const requestPayload = {userEmail: "anshika222@gmail.com", userPassword: "Iamking@000"};
let token;
const orderApiRequestPayload = {orders: [{country: "Cuba", productOrderedId: "6581ca979fd99c85e8ee7faf"}]};
Expand Down
3 changes: 2 additions & 1 deletion tests/EndToEndPageObject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ const {POManager} = require('../PageObjects/POManager');
//JSON -> String -> JS object
const dataSet = JSON.parse(JSON.stringify(require('../Utils/EndToEndPageObjectTestData.json')));

for(const data of dataSet){

for(const data of dataSet){
//test.describe.configure({mode: 'parallel'});
test(`@Client App login for ${data.productName}`, async ({ page }) => {
//js file- Login js, DashboardPage
const poManager = new POManager(page);
Expand Down

0 comments on commit 39256f7

Please sign in to comment.