We are currently running into a issue using safari where we are unable to run more than a few test cases in one run. This even happens with the Sample code that ships with WebAii.
Here is what I did in the sample code.
- In app.confg change configuration\WebAii.Settings\defaultBrowser="Safari"
- Build
- Open Test List Editor
- Run the first 5 test cases
Here is the output from the run:
Passed QuickStarts_VSTS_CS.UsingAspNetDevSrv.UseAspNetDevServer
Failed QuickStarts_VSTS_CS.AjaxSupport.WaitingForMultiplePageChanges Initialization method QuickStarts_VSTS_CS.AjaxSupport.MyTestInitialize threw exception. System.TimeoutException: System.TimeoutException: Wait for condition has timed out.
Failed QuickStarts_VSTS_CS.TestRegions.AccessingTestRegions Assert.IsTrue failed.
Failed QuickStarts_VSTS_CS.TestRegions.AccessingElementsUsingTestRegions Test method
QuickStarts_VSTS_CS.TestRegions.AccessingElementsUsingTestRegions threw exception:
...
Failed QuickStarts_VSTS_CS.TestRegions.UsingFindParamAttributeWithTestRegions Test method QuickStarts_VSTS_CS.TestRegions.UsingFindParamAttributeWithTestRegions threw exception:
...
Error QuickStarts_VSTS_CS.AjaxSupport.WaitingForSinglePageChange The agent process was stopped while the test was running.
The first one always passes for me. After that however is seems the environment gets in a bad state and nothing will pass from that point onwards.
Is this a known issue with Safari?
Does anyone know of any workarounds?
We are currently blocked by this and I need to find a workaround as soon as possible.
Thanks,
Chris