Install Mocha and Chai
Mocha Installation
This command will install the Mocha library, a JavaScript testing framework for asynchronous testing, to run serial tests and reporting.
playwright_test > npm i mocha
It's useful to install Mocha globally, to be used directly on the command line:
playwright_test > npm i -g mocha
Chai Installation
This command will install the Chai library, an assertion library, which provide many assertion functions to validate the test process.
playwright_test > npm i chai