You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I updated my Playwright project to use AWS secret credentials I cannot run the test cases correctly.
I have this error message:
Error: Playwright Test did not expect test() to be called here.
Most common reasons include:
You are calling test() in a configuration file.
You are calling test() in a file that is imported by the configuration file.
You have two different versions of @playwright/test. This usually happens
when one of the dependencies in your package.json depends on @playwright/test.
at example.spec.ts:26
24 |
25 | // Test for login functionality, navigation, and work orders check
26 | test('Vytal WO View', async ({ page }) => {
| ^
27 | test.setTimeout(180_000);
28 | await login(page);
29 | await page.click('div.MuiListItemIcon-root.css-1f8bwsm');
at TestTypeImpl._currentSuite (C:\WINDOWS\system32\node_modules\playwright\lib\common\testType.js:72:13)
at TestTypeImpl._createTest (C:\WINDOWS\system32\node_modules\playwright\lib\common\testType.js:78:24)
at C:\WINDOWS\system32\node_modules\playwright\lib\transform\transform.js:288:12
at Object. (C:\WINDOWS\system32\tests\example.spec.ts:26:5)
I've checked the package.json, playwright.config, helper, etc. files and I can't find any conflicts. Any ideas?
The text was updated successfully, but these errors were encountered:
Since I updated my Playwright project to use AWS secret credentials I cannot run the test cases correctly.
I have this error message:
Error: Playwright Test did not expect test() to be called here.
Most common reasons include:
when one of the dependencies in your package.json depends on @playwright/test.
at example.spec.ts:26
24 |
25 | // Test for login functionality, navigation, and work orders check
I've checked the package.json, playwright.config, helper, etc. files and I can't find any conflicts. Any ideas?
The text was updated successfully, but these errors were encountered: