Hello,
I have a plan for Selenium tests with three stages and different jobs, something like this:
Stage 1
- job 1.1: build tests (Maven), deployes to Tomcat, starts Tomcat
Stage 2:
- job 2.1: executes TestSuiteA
- job 2.2: executes TestSuiteB
- job 2.3: executes TestSuiteC
Stage 3:
- job 3.1: stops Tomcat, backup logs, undeployes webapp
We made different jobs in Stage 2 because Selenium takes a long time to run, so if we update a test case class, and want to test its execution on Bamboo, we can disable some jobs and run only the Test Suite that contains this test case to make the execution faster.
But it seems that if a job fails in Stage 2, the job in Stage 3 does not run. Is it the expected behavior?
This plan is also supposed to launch a child plan when completed but most of the times it doesn't launch it (apparently when the parent plan is launched manually the child plan is launched, but when the parent plan is triggered by a cron job the child plan is not launched). Could it be related?
I looked in the log file but didn't see anything wrong.
Thank you for your help!