stable
Clone or download
This introduce tests made with selenium web driver to automated UI tests. What you really need to do to run the tests is: $> tests/selenium/wrap.sh This will spawn a whole new instance of Tuleap, feed with data, run the tests and shutdown. The results will appear in 'test_results' subdirectory. If you want to know was was done during tests (in case of failure): $> docker-compose -f docker-compose-distlp-tests.yml logs test If you want to run tests manually without whole setup and teardown, once you already have run "wrap.sh" once, you can manually run the tests with: $> docker run --net tuleap_runtests -ti --rm -v $PWD:/tuleap -v $PWD/test_results:/output tuleap-run-tests bash $> /tuleap/tests/selenium/run.sh Part of story #10171: automate distributed tuleap setup tests Change-Id: I5f9b37a66301ade908840c14fe471e046709897a
Modified Files
Name | ||||
---|---|---|---|---|
M | .gitignore | +3 | −0 | Go to diff View file |
M | docker-compose-distlp-tests.yml | +10 | −4 | Go to diff View file |
M | docker-compose-distlp.yml | +2 | −0 | Go to diff View file |
R | tools/distlp/tests/.gitignore | Go to diff View file | ||
A | tests/selenium/DockerImage/Dockerfile | +19 | −0 | Go to diff View file |
R | tools/distlp/tests/_fixtures/svn_project_01/data/svn.dump | Go to diff View file | ||
R | tools/distlp/tests/_fixtures/svn_project_01/project.xml | Go to diff View file | ||
R | tools/distlp/tests/_fixtures/svn_project_01/users.xml | Go to diff View file | ||
A | tests/selenium/composer.json | +10 | −0 | Go to diff View file |
A | tests/selenium/composer.lock | +2643 | −0 | Go to diff View file |
A | tests/selenium/run.sh | +52 | −0 | Go to diff View file |
A | tests/selenium/tests/SVN/SVNBrowsingTest.php | +72 | −0 | Go to diff View file |
R | tools/distlp/tests/SVNTest.php | Go to diff View file | ||
A | tests/selenium/tests/SeedCookiesTest.php | +60 | −0 | Go to diff View file |
R | tools/distlp/tests/wrap.sh | Go to diff View file | ||
M | tools/distlp/backend-web/run.php | +1 | −1 | Go to diff View file |
D | tools/distlp/tests/DockerImage/Dockerfile | +0 | −3 | Go to diff View file |
D | tools/distlp/tests/run.sh | +0 | −30 | Go to diff View file |