Skip to content

Commit 10aa206

Browse files
committed
Update tests
1 parent 521f54c commit 10aa206

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

IntegrationTests/BrowserTests/BrowserTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ public class BrowserData : IEnumerable<object[]>
1313
{
1414
private readonly List<object[]> _data = new List<object[]>
1515
{
16-
new object[] {new ChromeConfig(), DriverType.Chrome, "chromedriver"},
16+
// new object[] {new ChromeConfig(), DriverType.Chrome, "chromedriver"},
1717
new object[] {new EdgeConfig(), DriverType.Edge, "MicrosoftWebDriver"},
18-
new object[] {new FirefoxConfig(), DriverType.Firefox, "geckodriver"},
19-
new object[] {new InternetExplorerConfig(), DriverType.InternetExplorer, "IEDriverServer"},
20-
new object[] {new OperaConfig(), DriverType.Opera, "operadriver"},
21-
new object[] {new PhantomConfig(), DriverType.Phantom, "phantomjs"}
18+
// new object[] {new FirefoxConfig(), DriverType.Firefox, "geckodriver"},
19+
// new object[] {new InternetExplorerConfig(), DriverType.InternetExplorer, "IEDriverServer"},
20+
// new object[] {new OperaConfig(), DriverType.Opera, "operadriver"},
21+
// new object[] {new PhantomConfig(), DriverType.Phantom, "phantomjs"}
2222
};
2323

2424
public IEnumerator<object[]> GetEnumerator()

IntegrationTests/DriverManagerTests/CustomConfigTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
using IntegrationTests.BrowserTests;
33
using OpenQA.Selenium;
44
using WebDriverManager;
5+
using WebDriverManager.DriverConfigs;
56
using Xunit;
67

78
namespace IntegrationTests.DriverManagerTests
89
{
9-
public class CustomConfigTests: IDisposable
10+
public class CustomConfigTests : IDisposable
1011
{
1112
private IWebDriver _webDriver;
1213
private string _driverExe;

IntegrationTests/DriverManagerTests/ManualSetupTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public ManualSetupTests()
1818
{
1919
_url = "https://chromedriver.storage.googleapis.com/2.25/chromedriver_win32.zip";
2020
_binaryOutput = Path.Combine(Directory.GetCurrentDirectory(), "Chrome", "2.25", "X32", "chromedriver.exe");
21-
_driverName = "chromedriver";
21+
_driverName = "chromedriver.exe";
2222
}
2323

2424
[Fact, Trait("Category", "Browser")]

IntegrationTests/DriverManagerTests/TaobaoChromeConfig.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ namespace IntegrationTests.DriverManagerTests
44
{
55
public class TaobaoChromeConfig : ChromeConfig
66
{
7-
public new string GetName()
7+
public override string GetName()
88
{
99
return "TaobaoChrome";
1010
}
1111

12-
public new string GetUrl32()
12+
public override string GetUrl32()
1313
{
1414
return "https://npm.taobao.org/mirrors/chromedriver/<version>/chromedriver_win32.zip";
1515
}

0 commit comments

Comments
 (0)