Changes for page Docker-based Testing
Last modified by Vincent Massol on 2024/03/12 17:22
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,6 +11,7 @@ 11 11 * Test results is recording in a FLV file in the ##target## directory. 12 12 * A screenshot of the UI when the test is failing is also taken in the ##target## directory. 13 13 * When test execute it's possible to connect to the running VNC server and see the UI by using a VNC client and connect to the VNC URL printed in the console, e.g. ##vnc:~/~/vnc:secret@localhost:32936##. 14 +** Note that if you want to debug and interact with the XWiki UI you should use a ##servletEngine## other than the default Jetty Standalone one since otherwise the debug point in your IDE will prevent the XWiki code from executing and you'll see a spinning wheel until you step forward in your debugger. You can use for example ##servletEngine = ServletEngine.TOMCAT##. 14 14 * The version for the platform dependencies is specified using the ##platform.version## property in the ##pom.xml## file executing the tests. 15 15 * The test configuration options can be accessed from tests by specifying a method parameter of type ##TestConfiguration## (see examples below). 16 16 ** You can get access to the IP address/port to use to connect to XWiki from the host machine: ##testConfiguration.getServletEngine().getIP()/getPort()##