Skip to content

marko-simic/memory-game-test

Repository files navigation

Cheating memory game with Playwright framework 😉

Since the Playwright can read browser DOM, it is easy to make a test that solves the memory game with a minimal number of moves in no time.

Recorded test

Installing dependencies

How to install dependencies:

npm i

Running the project

How to run the tests:

npx playwright test

How to run the tests with open browser:

npx playwright test --headed

Or you can run a pre-defined script with the command

npm run test

If the test is too fast for you, you can see for yourself by opening generated success.png file

Memory Matching Game

I used here the Memory Matching Game in JavaScript developed by Chris Sev and all credits go to him

Enjoy!

About

Solving memory game with Playwright framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published