Skip to content
Snippets Groups Projects
Commit 12f1b915 authored by felmer's avatar felmer
Browse files

SSDM-11273: adapt README.txt

parent 4f732f94
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
For development and bug fixing the tests have to run in a Web browser. For development and bug fixing the tests have to run in a Web browser.
For this an openBIS instance has to start up. To get such a test instance running with all core-plugins with Start up everything by executing inside the gradle/ directory:
the test suits the build file 'build.gradle' has to be temporarily modified (do not check in this change!):
Replace line
options.suites('source/java/tests.xml') ./gradlew -Ddev=yes js-test:clean js-test:test
by This will start up openBIS AS and two DSSs.
options.suites('source/java/tests-dev.xml')
Then start up everything by executing inside the gradle/ directory: To run ELN tests with the following command:
./gradlew js-test:clean js-test:test ./gradlew -Deln=yes -Ddev=yes js-test:clean js-test:test
This will start up openBIS AS and two DSSs. This will start up openBIS AS and only one DSS.
When the console output is no longer busy Firefox should be started. When the console output is no longer busy Firefox should be started.
Enter the following URL: http://localhost:20000/openbis/ Enter the following URL: http://localhost:20000/openbis/
...@@ -27,6 +23,12 @@ If a test fails you can click on the test and only the failed test will be shown ...@@ -27,6 +23,12 @@ If a test fails you can click on the test and only the failed test will be shown
You can change the test code (e.g. in servers/common/core-plugins/tests/1/as/webapps/openbis-test/html/openbis-test.js). You can change the test code (e.g. in servers/common/core-plugins/tests/1/as/webapps/openbis-test/html/openbis-test.js).
To see the changes you have to reload the frame (not the application) in the Web browser. To see the changes you have to reload the frame (not the application) in the Web browser.
Jenkins
=======
On Jenkins screenshots are taken every 20 seconds they are stored inside the workspace:
js-test/servers/common/openBIS-server/targets/dist/JsTestElnSelenium/runELNTests
Geckodriver Geckodriver
========== ==========
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment