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
I prefer to use import instead of require, hence tried to write my playwright tests as .mjs files.
All was ok until I tried the inspector. The top pane only contained the text // No source available but the play/step over buttons and the bottom pane worked correctly so the file seems to be debugged correctly. Fix is to display the .mjs file in the top pane.
The text was updated successfully, but these errors were encountered:
Context:
Code Snippet
Displays (.js):
Does not display (.mjs):
Describe the bug
I prefer to use import instead of require, hence tried to write my playwright tests as .mjs files.
All was ok until I tried the inspector. The top pane only contained the text // No source available but the play/step over buttons and the bottom pane worked correctly so the file seems to be debugged correctly. Fix is to display the .mjs file in the top pane.
The text was updated successfully, but these errors were encountered: