You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Clement Denis a4709ed89a dom: update puppeteer version 3 years ago
..
Dockerfile dom: update puppeteer version 3 years ago
README.md add instructions to run tests locally for DOM & JS 3 years ago
action-reaction_test.js
bring-it-to-life_test.js Test for bring-it-to-life 3 years ago
build-brick-and-break_test.js
class-that_test.js Test for class-that 3 years ago
entrypoint.sh
fifty-shades-of-cold_test.js
first-words_test.js Test for first-words 3 years ago
get-them-all_test.js
gossip-grid_test.js
harder-bigger-bolder-stronger_test.js
keycodes-symphony_test.js
mouse-trap_test.js
nesting-organs_test.js
package.json
pick-and-click_test.js
pimp-my-style_test.js
select-and-style_test.js select-and-style: test and review 3 years ago
skeleton_test.js
subjects
test.js
the-calling_test.js
where-do-we-go_test.js
yarn.lock

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