removing unneccessary force clicks

This commit is contained in:
Raphael Okafor Jr 2022-08-23 09:43:33 -04:00
Родитель 4d07abcdc6
Коммит 8f4b681987
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -56,8 +56,7 @@ const enterConfirmationCode = async (page: Page) => {
const signIn = async (page: Page) => {
const signInButton = '//*[@id="use-logged-in"]'
await page.waitForSelector(signInButton, { timeout: 2000 })
// await page.locator('//*[@id="use-logged-in"]').click({ force: true })
await page.locator(signInButton).click({force: true})
await page.locator(signInButton).click()
await page.waitForTimeout(500)
await checkAuthState(page)
}