Skip to content

Commit ae9fbce

Browse files
authored
Feature/fix pipeline (#133)
* Fix pipeline (#18) and update Browser (#127) * Increase number of threads for UITests
1 parent 59e77f0 commit ae9fbce

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Aquality.Selenium/src/Aquality.Selenium/Browsers/Browser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void HandleAlert(AlertAction alertAction, string text = null)
196196
catch (NoAlertPresentException ex)
197197
{
198198
Logger.FatalLoc("loc.browser.alert.fail", ex);
199-
throw ex;
199+
throw;
200200
}
201201
}
202202

Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/UITest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Aquality.Selenium.Browsers;
22
using NUnit.Framework;
33

4-
[assembly: LevelOfParallelism(10)]
4+
[assembly: LevelOfParallelism(15)]
55
namespace Aquality.Selenium.Tests.Integration
66
{
77
[TestFixture]

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ steps:
5353
inputs:
5454
command: 'pack'
5555
projects: Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj
56-
arguments: -c $(buildConfiguration) --no-build -o $(Build.ArtifactStagingDirectory)
56+
arguments: -c $(buildConfiguration) -o $(Build.ArtifactStagingDirectory) --no-build
57+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
5758

5859
- task: NuGetCommand@2
5960
displayName: 'Push NuGet package'

0 commit comments

Comments
 (0)