Skip to content

Commit

Permalink
Merge branch 'main' of github.com:kolodny/safetest
Browse files Browse the repository at this point in the history
  • Loading branch information
kolodny committed Feb 29, 2024
2 parents 0df06d6 + eefa369 commit ed5ca7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ setup({

## Debugging and Troubleshooting

Safetest takes advantage of playwright and jest to provide a lot of debugging and troubleshooting tools. Here are some of the most useful ones. The script copied in the package.json file will open a debug port that you can connect to with the node inspector. You can just add a `debugger` statement in your test and the node-inspector will just catch it. Alternately to can add a `launch.json` file with [**these run properties**](TODO) and have vscode auto-attach to the process.
Safetest takes advantage of playwright and jest to provide a lot of debugging and troubleshooting tools. Here are some of the most useful ones. The script copied in the package.json file will open a debug port that you can connect to with the node inspector. You can just add a `debugger` statement in your test and the node-inspector will just catch it. Alternately you can add a `launch.json` file with [**these run properties**](TODO) and have vscode auto-attach to the process.

The `render` also returns a `pause` method that will pause the execution of the page and allow you to inspect the page in the browser and to continue to use the playwright `page` object.

Expand Down

0 comments on commit ed5ca7e

Please sign in to comment.