Skip to content

Commit 38146fd

Browse files
committed
updated
1 parent c7fc0e5 commit 38146fd

4 files changed

Lines changed: 61 additions & 5 deletions

File tree

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default defineConfig({
3636
video : "on-first-retry",
3737
screenshot : "only-on-failure",
3838
trace: 'on-first-retry',
39-
headless: false
39+
headless: true
4040
},
4141

4242
/* Configure projects for major browsers */

resources/items.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Item Name | Quantity | Amount | Purchase Date | Month | Remarks
2-
Chicken | 2 | 8435 | 11/11/2025 | November | This is test remarks for Chicken
3-
Chair | 2 | 5904 | 11/11/2025 | November | This is test remarks for Chair
2+
Ball | 2 | 7431 | 11/11/2025 | November | This is test remarks for Ball
3+
Pants | 2 | 6333 | 11/11/2025 | November | This is test remarks for Pants

resources/userData.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,61 @@
230230
"password": "1234",
231231
"phoneNumber": "01905201557",
232232
"address": "6799 Bergnaum Mission"
233+
},
234+
{
235+
"firstName": "Jaylan",
236+
"lastName": "Schuster",
237+
"email": "teachercopilot123+212@gmail.com",
238+
"password": "1234",
239+
"phoneNumber": "01905255435",
240+
"address": "37344 Reina Dale"
241+
},
242+
{
243+
"firstName": "Lucio",
244+
"lastName": "Block",
245+
"email": "teachercopilot123+275@gmail.com",
246+
"password": "1234",
247+
"phoneNumber": "01905192915",
248+
"address": "84900 Garden Street"
249+
},
250+
{
251+
"firstName": "Beaulah",
252+
"lastName": "D'Amore",
253+
"email": "teachercopilot123+521@gmail.com",
254+
"password": "1234",
255+
"phoneNumber": "01905666277",
256+
"address": "779 Spencer Underpass"
257+
},
258+
{
259+
"firstName": "Hannah",
260+
"lastName": "Herman",
261+
"email": "teachercopilot123+263@gmail.com",
262+
"password": "1234",
263+
"phoneNumber": "01905274895",
264+
"address": "5090 West Lane"
265+
},
266+
{
267+
"firstName": "Jordane",
268+
"lastName": "Weimann",
269+
"email": "teachercopilot123+301@gmail.com",
270+
"password": "1234",
271+
"phoneNumber": "01905866535",
272+
"address": "6785 Rowan Close"
273+
},
274+
{
275+
"firstName": "Leslie",
276+
"lastName": "Murray",
277+
"email": "teachercopilot123+454@gmail.com",
278+
"password": "1234",
279+
"phoneNumber": "01905455854",
280+
"address": "5776 Simone Ramp"
281+
},
282+
{
283+
"firstName": "Eudora",
284+
"lastName": "Jenkins",
285+
"email": "teachercopilot123+914@gmail.com",
286+
"password": "1234",
287+
"phoneNumber": "01905601408",
288+
"address": "909 Deon Ville"
233289
}
234290
]

tests/1_testPipeline.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ test.describe.serial("User Registration", async () => {
101101
let resetEmail = getLastUser("./resources/userData.json").email;
102102
saveEnv("userEmail", resetEmail);
103103
await reset.doResetPassword(resetEmail)
104-
await page.waitForTimeout(5000);
104+
await page.waitForTimeout(10000);
105105
let lastEmail = await readLatestEmail();
106106
console.log(lastEmail);
107-
107+
await page.waitForTimeout(5000);
108108
const urlRegex = /(https?:\/\/[^\s]+)/;
109109
const match = lastEmail.match(urlRegex);
110110

0 commit comments

Comments
 (0)