index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-17 22:26:53 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-17 22:26:53 -0700 |
commit | 23967fe2f5ae9fb6d6c8a2cbc29845531f7acece (patch) | |
tree | a9bc130e002ed7241552891f70326976b01117fb /README.md | |
parent | 24e2bd5821b09d4d7e243fc62ab36f45454a0a03 (diff) |
Integration test running with test server
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -18,6 +18,10 @@ You need chrome and chromedriver installed. The Dockerfile builds an image that TODO add firefox and geckodriver +The container can access the outside without setting a port or a network. The network or port is only necessary when wanting to connect the host machine to the docker container. You can run a test that spawns a test server and uses the webdriver to load the page like this: + + docker run --rm -it -v $PWD:/usr/src/app btroops npm run test:integ + ## Rough way to save the SVG map generated by JavaScript client-side const XMLS = new XMLSerializer(); |