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
The issue is not reproducible in seperate the repository. In our internal repository it occurs intermittently
Expected behavior
The playwright test should execute all the functions
Actual behavior
We get error TypeError: (0 , TestSetupUtils_1.getTestEnvironmentInfo) is not a function. Even when this function is present
and another similar error. Attaching screenshot of both errors
TypeError: Cannot read properties of undefined (reading 'NONE')
Additional context
This is an intermittent issue we face. It is not reproducible on local machine and CI machine it occurs intermittently. If this fail then we try to retry which most of the time succeds.
It was working fine till version 1.40.0
The error sometime says function is missing and sometime says enum property is missing. Although they are present in the other TS files.
Looks like some issue in typescript transpilation which is included in playwright is not loading typescript file correctly.
This problem was there in 1.23 version also
Environment
OS: linux
Node - 18.17
The text was updated successfully, but these errors were encountered:
Sure. I'm trying to find repro steps. This issue has been difficult to repro on local machine and on CI machine it happens intermittently. Trying to find out repro steps. My initial suspect is the babel/typescript-preset version was update in 42.1 release and for some reason with our combination of code its running in some race condition.
My initial suspect is the babel/typescript-preset version was update in 42.1 release and for some reason with our combination of code its running in some race condition.
That may well be the case. We need a repro to figure out what's going on.
Version
1.42.1
Steps to reproduce
The issue is not reproducible in seperate the repository. In our internal repository it occurs intermittently
Expected behavior
The playwright test should execute all the functions
Actual behavior
We get error TypeError: (0 , TestSetupUtils_1.getTestEnvironmentInfo) is not a function. Even when this function is present
and another similar error. Attaching screenshot of both errors
TypeError: Cannot read properties of undefined (reading 'NONE')
Additional context
This is an intermittent issue we face. It is not reproducible on local machine and CI machine it occurs intermittently. If this fail then we try to retry which most of the time succeds.
It was working fine till version 1.40.0
The error sometime says function is missing and sometime says enum property is missing. Although they are present in the other TS files.
Looks like some issue in typescript transpilation which is included in playwright is not loading typescript file correctly.
This problem was there in 1.23 version also
Environment
The text was updated successfully, but these errors were encountered: