tag:help.appveyor.com,2012-11-13:/discussions/problems/2011-integration-tests-using-selenium-seem-to-run-in-parallel-instead-of-sequentiallyAppVeyor: Discussion 2018-08-25T01:55:54Ztag:help.appveyor.com,2012-11-13:Comment/366230892015-04-20T17:15:14Z2015-04-20T17:15:14ZIntegration tests using Selenium seem to run in parallel instead of sequentially<div><p>Hi Hilmar,</p>
<p>What test framework is that?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/366230892015-04-20T20:23:02Z2015-04-20T20:23:02ZIntegration tests using Selenium seem to run in parallel instead of sequentially<div><p>We use the Visual Studio Unit Testing Framework.</p></div>Hilmar van der Bijltag:help.appveyor.com,2012-11-13:Comment/366230892015-04-20T20:33:19Z2015-04-20T20:33:19ZIntegration tests using Selenium seem to run in parallel instead of sequentially<div><p>How do you run those tests locally?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/366230892015-04-21T06:40:49Z2015-04-21T06:40:49ZIntegration tests using Selenium seem to run in parallel instead of sequentially<div><p>Simply by running them in the Visual Studio Test Explorer
(CTRL+R,A).</p>
<p>The tests are defined using TestStack's Seleno package.</p></div>Hilmar van der Bijltag:help.appveyor.com,2012-11-13:Comment/366230892015-04-21T13:42:59Z2015-04-21T13:42:59ZIntegration tests using Selenium seem to run in parallel instead of sequentially<div><p>Hi Feodor,</p>
<p>The problem was with our own tests. Turns out the driver is
created as a singleton, and the context isnt cleared before each
test. Deleting all cookies prior to each test fixed this issue.</p>
<p>Sorry to waste your time.</p></div>Hilmar van der Bijltag:help.appveyor.com,2012-11-13:Comment/366230892015-04-21T13:44:12Z2015-04-21T13:44:12ZIntegration tests using Selenium seem to run in parallel instead of sequentially<div><p>And the reason we saw two drivers being initialized was because
that particular test was actually using two different browser
windows.</p></div>Hilmar van der Bijltag:help.appveyor.com,2012-11-13:Comment/366230892015-04-21T13:44:12Z2015-04-21T13:44:12ZIntegration tests using Selenium seem to run in parallel instead of sequentially<div><p>Cool, thanks for update!</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsner