| Auszug |
|---|
|
Nuclos web client tests: Selenium, grunt, server.json, ChromeDriver, Docker, standalone-chrome, end-to-end, test nuclets. |
Language: Deutsch · English
Web client tests
Web client E2E tests with Selenium – grunt server, Selenium/Docker, ChromeDriver and test nuclets.
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
End-to-end tests of the web client with Selenium. For manual execution, the Nuclos server, the web client server and a Selenium server must be running.
Web client server (grunt)
| Codeblock |
|---|
|
cd nuclos-webclient
# einmalig
npm install -g grunt-cli
npm install
# Server starten
grunt server |
After the first start, nuclos-webclient/src/app/server.json is created – enter the Nuclos server data there (e.g. { "server": "//localhost:8080/nuclos-war" }).
Selenium server
| Codeblock |
|---|
|
docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug |
When testing with Chrome, the ChromeDriver must be installed and passed at startup; Firefox needs no additional driver.
Test nuclets
The required test nuclets are under nuclos-integration-tests/testnuclets/; the script import-testnuclets.sh imports them one after another.
Related pages
Web client test suite
Test cases.
Open →
Running the integration tests with IntelliJ (and Docker)
IntelliJ/Docker.
Open →