Search found 25 matches

Still not working. :-( I adjusted the 'Subtest 2' to the following: st.it('Subtest 2', function(sst) { sst.chain(function(next) { sst.is(100, 101); sst.is(2, 2); sst.waitForElementVisible('foo', next); }, function(next) { sst.waitForElementVisible('foo', next); sst.is(3, 3); }); }); And this is what...
Thanks it is working now as expected. Now back to my goal of a config to stop a test in a project once it reports a failure. My test example is the following: StartTest(function (t) { t.describe('Test with multiple steps', function(st) { st.it('Subtest 1', function(sst) { sst.is(1, 1); }); st.it('Su...
You sure you have the right test case? 'Subtest 3' is not launched in the first one but in the second (it slightly differs because it is using chain and waitFor . StartTest(function (t) { t.describe('Test with multiple steps', function(st) { st.it('Subtest 1', function(sst) { sst.is(1, 1); }); st.it...
Now that this misunderstanding is out of the way. What about the 'Subtest 3' being launched after the main test is exited?
Did you check the transparentExceptions options in the GUI?

Edit: Oh well, looks like adding/removing the title will reset the checked options in the GUI. That makes sense. So the thrown exception mystery is solved for me.
Found out why the exception is thrown. You will not believe me until you tried it yourself. Try removing the title config in the configure call of the project...
The 'Subtest 3' is only launched for my second example using chain and waitFor. Could you elaborate on that?

I will look into why the exception is thrown in my case.
So sadly no missed config. Ok, time to dig deeper. I played around with the exit function but always found a constellation that did not meet my requirements. For example this test: me.test.describe('Test with multiple steps', function(st) { st.it('Subtest 1', function(sst) { sst.is(1, 1); }); st.it(...
Hi, I want to immediately exit a test when any failure in any spawned subtest (describe, it, chain, ...) occurs. I know about the breakOnFail config but this will exit the whole project (i.e. when having multiple test classes the next one is not run). Is there any config I missed or another option t...
Just checked the nightly and testPreload works like a charm!
Great work!