public/dom
Clement Denis a4709ed89a dom: update puppeteer version 2021-03-03 16:45:26 +01:00
..
Dockerfile dom: update puppeteer version 2021-03-03 16:45:26 +01:00
README.md add instructions to run tests locally for DOM & JS 2021-03-03 11:18:38 +00:00
action-reaction_test.js Update test for action-reaction to check the text in the button has changed 2021-03-03 01:47:51 +00:00
bring-it-to-life_test.js Test for bring-it-to-life 2021-03-03 01:47:51 +00:00
build-brick-and-break_test.js Make the feedback message more accurate. (#615) 2020-06-18 20:08:27 +01:00
class-that_test.js Test for class-that 2021-03-03 01:47:51 +00:00
entrypoint.sh changed permissions to executable 2020-11-13 10:19:06 +00:00
fifty-shades-of-cold_test.js add entrypoint and Dockerfile and rename 2020-06-17 22:38:28 +02:00
first-words_test.js Test for first-words 2021-03-03 01:47:51 +00:00
get-them-all_test.js add entrypoint and Dockerfile and rename 2020-06-17 22:38:28 +02:00
gossip-grid_test.js add gossip-grid + refactor pick-and-click 2020-06-19 00:31:29 +02:00
harder-bigger-bolder-stronger_test.js add entrypoint and Dockerfile and rename 2020-06-17 22:38:28 +02:00
keycodes-symphony_test.js Fixed the test to handle only alphabet letters like specified in the instructions. (#605) 2020-06-18 10:32:19 +01:00
mouse-trap_test.js Fixed the test of `mouse-trap` + made the instructions more strict. (#609) 2020-06-18 12:46:29 +01:00
nesting-organs_test.js Update test for nesting-organs 2021-03-03 01:47:51 +00:00
package.json fix docker image. update tester to work with docker image remove and solutions 2020-06-17 22:38:28 +02:00
pick-and-click_test.js add gossip-grid + refactor pick-and-click 2020-06-19 00:31:29 +02:00
pimp-my-style_test.js add entrypoint and Dockerfile and rename 2020-06-17 22:38:28 +02:00
select-and-style_test.js select-and-style: test and review 2021-03-03 01:47:51 +00:00
skeleton_test.js skeleton: test and review 2021-03-03 01:47:51 +00:00
subjects add entrypoint and Dockerfile and rename 2020-06-17 22:38:28 +02:00
test.js dom: add utilty functions eq.css and eq.$ 2021-03-03 01:47:51 +00:00
the-calling_test.js the-calling: test and review 2021-03-03 01:47:51 +00:00
where-do-we-go_test.js Created the test for `where do we go`. (#616) 2020-06-18 23:11:45 +01:00
yarn.lock add entrypoint and Dockerfile and rename 2020-06-17 22:38:28 +02:00

README.md

DOM

Tests that use puppeteer to do browser side exercises

Run test locally

Installation

You need node version 14+

# Clone the repo
git clone https://github.com/01-edu/public.git

# go into the dom directory
cd public/dom

# install puppeteer
npm i puppeteer

Executing a test

# run a test
SOLUTION_PATH=/user/you/piscine-repo node test.js exercise-name

The SOLUTION_PATH is the directory where the test should look for your solution, usualy your piscine repository.

The exercise-name argument should match exactly the name of an exercise, not including .js