inverse firstName and lastName

This commit is contained in:
2023-04-01 11:27:20 +02:00
parent 3361db1cc2
commit d1970470c9
+2 -2
View File
@@ -201,10 +201,10 @@ class CommandorPage {
if (!this.isNameInput) { if (!this.isNameInput) {
await page.locator(LAST_NAME).focus() await page.locator(LAST_NAME).focus()
await delay(getRandomWaitTime()) await delay(getRandomWaitTime())
await page.locator(LAST_NAME).fill(this.contact.lastName) await page.locator(LAST_NAME).fill(this.contact.firstName)
await page.locator(FIRST_NAME).focus() await page.locator(FIRST_NAME).focus()
await delay(getRandomWaitTime()) await delay(getRandomWaitTime())
await page.locator(FIRST_NAME).fill(this.contact.firstName) await page.locator(FIRST_NAME).fill(this.contact.lastName)
this.isNameInput = true this.isNameInput = true
} }
} }