Hi, thanks alot, keep it up... please share the advance level of PW videos, and maka a interview question's video as well
@aliadnan382 жыл бұрын
Great Explanation 👍👍 Please keep the videos coming. Waiting for the next video on Fixtures
@CommitQuality2 жыл бұрын
Thank you! The next video will be fixtures:)
@bananasaurio5751 Жыл бұрын
Hi! Thank you for your video. Im trying to work with playwright but this simple hook is not working properly. At minute 6:25 your console is printing twice "hello after each" and once "hello after all". As i copy and paste exactly the same code that you have, my console printed twice "hello after each" and twice "hello after all".. I just checked the config and I have no idea where is the problem. I'm using the latest version of playwright. Any insights or suggestions on what might be causing this issue would be greatly appreciated
@CommitQuality Жыл бұрын
Have you accidentally got two after each hooks at the top? One should be afterEach and another afterAll
@Runeblade4844 ай бұрын
@@CommitQuality I can confirm that it is indeed writing 2 hello before all and that it is properly set as a before all hook. What I notice is different is your is using a single worker while mine is running the tests in parallel with 2 works. Adding --workers=1 to the command forces it to use 1 worker and hello before all prints only once.
@imperuminate Жыл бұрын
thanks
@blecomp Жыл бұрын
Hello friend, thanks for the video, but I get two before all and two before each every time, What do you think is wrong?, thank again.
@CommitQuality Жыл бұрын
Is it running multiple tests, for example do you have more than one project executing? If not, could you share the code and I'm happy to look