mirror of https://github.com/01-edu/public.git
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.
Marie Malarme
70f1705a34
|
4 years ago | |
---|---|---|
.. | ||
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
action-reaction_test.js | 4 years ago | |
bring-it-to-life_test.js | 4 years ago | |
build-brick-and-break_test.js | 4 years ago | |
class-that_test.js | 4 years ago | |
entrypoint.sh | 4 years ago | |
fifty-shades-of-cold_test.js | 4 years ago | |
first-words_test.js | 4 years ago | |
get-them-all_test.js | 4 years ago | |
gossip-grid_test.js | 4 years ago | |
harder-bigger-bolder-stronger_test.js | 4 years ago | |
keycodes-symphony_test.js | 4 years ago | |
mouse-trap_test.js | 4 years ago | |
nesting-organs_test.js | 4 years ago | |
package.json | 4 years ago | |
pick-and-click_test.js | 4 years ago | |
pimp-my-style_test.js | 4 years ago | |
select-and-style_test.js | 4 years ago | |
skeleton_test.js | 4 years ago | |
subjects | 4 years ago | |
test.js | 4 years ago | |
the-calling_test.js | 4 years ago | |
where-do-we-go_test.js | 4 years ago | |
yarn.lock | 4 years ago |
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