inverse firstName and lastName
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user