Closed python012 closed 10 months ago
@python012 While I'll be investigating this error, as a note expect.soft(await loginPage.clickOnLoginBtn())
is not a valid expect since you don't have an assertion.
:tada: This issue has been resolved in version 0.22.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
When I tried to run eslint, I got error TypeError: Cannot read properties of undefined (reading 'parent') while linting the code of
expect.soft(await loginPage.clickOnLoginBtn())
my package.json
my .eslintrc.json
The code of TestAcs.spec.ts:185 is
expect.soft(await loginPage.clickOnLoginBtn());
the function is defined as following, and yes this line of code is not good..
after I added
"playwright/missing-playwright-await": "off"
to rules, and ran eslint, this error was gone