Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Browser Tests
os: windows
run: |
bazel test //dotnet/test/common:ElementFindingTest-firefox //dotnet/test/common:ElementFindingTest-chrome
bazel test //dotnet/test/common:ElementFindingTests-firefox //dotnet/test/common:ElementFindingTests-chrome

remote-tests:
name: Remote Tests
Expand Down
2 changes: 1 addition & 1 deletion .skipped-tests
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-//dotnet/test/common:NetworkInterceptionTests-chrome
-//dotnet/test/common:NetworkInterceptionTests-edge
-//dotnet/test/firefox:FirefoxDriverTest-firefox
-//dotnet/test/firefox:FirefoxDriverTests-firefox
-//java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest
-//java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote
-//java/test/org/openqa/selenium/edge:EdgeDriverFunctionalTest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="AlertsTest.cs" company="Selenium Committers">
// <copyright file="AlertsTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -25,7 +25,7 @@
namespace OpenQA.Selenium;

[TestFixture]
public class AlertsTest : DriverTestFixture
public class AlertsTests : DriverTestFixture
{
[Test]
public void ShouldBeAbleToOverrideTheWindowAlertMethod()
Expand Down
2 changes: 0 additions & 2 deletions dotnet/test/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ csharp_library(
srcs = glob(
["**/*.cs"],
exclude = [
"**/*Test.cs",
"**/*Tests.cs",
],
),
Expand Down Expand Up @@ -67,7 +66,6 @@ dotnet_nunit_test_suite(
name = "AllTests",
size = "small",
srcs = glob([
"**/*Test.cs",
"**/*Tests.cs",
]) + [
":assembly-fixtures",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="BrowserTest.cs" company="Selenium Committers">
// <copyright file="BrowserTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.Browser;

internal class BrowserTest : BiDiTestFixture
internal class BrowserTests : BiDiTestFixture
{
[Test]
public async Task CanCreateUserContext()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="BrowsingContextEventsTest.cs" company="Selenium Committers">
// <copyright file="BrowsingContextEventsTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.BrowsingContext;

internal class BrowsingContextEventsTest : BiDiTestFixture
internal class BrowsingContextEventsTests : BiDiTestFixture
{
[Test]
public async Task CanListenDownloadWillBeginEvent()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="BrowsingContextTest.cs" company="Selenium Committers">
// <copyright file="BrowsingContextTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.BrowsingContext;

internal class BrowsingContextTest : BiDiTestFixture
internal class BrowsingContextTests : BiDiTestFixture
{
[Test]
public async Task CanCreateNewTab()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="EmulationTest.cs" company="Selenium Committers">
// <copyright file="EmulationTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -21,7 +21,7 @@

namespace OpenQA.Selenium.BiDi.Emulation;

internal class EmulationTest : BiDiTestFixture
internal class EmulationTests : BiDiTestFixture
{
[Test]
public void CanSetTimezoneOverride()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="CombinedInputActionsTest.cs" company="Selenium Committers">
// <copyright file="CombinedInputActionsTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.Input;

internal class CombinedInputActionsTest : BiDiTestFixture
internal class CombinedInputActionsTests : BiDiTestFixture
{
//[Test]
public async Task Paint()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="DefaultKeyboardTest.cs" company="Selenium Committers">
// <copyright file="DefaultKeyboardTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -19,7 +19,7 @@

//namespace OpenQA.Selenium.BiDi.Input;

//class DefaultKeyboardTest : BiDiTestFixture
//class DefaultKeyboardTests : BiDiTestFixture
//{
// [Test]
// public async Task TestBasicKeyboardInput()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="DefaultMouseTest.cs" company="Selenium Committers">
// <copyright file="DefaultMouseTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -19,7 +19,7 @@

//namespace OpenQA.Selenium.BiDi.Input;

//class DefaultMouseTest : BiDiTestFixture
//class DefaultMouseTests : BiDiTestFixture
//{
// [Test]
// public async Task PerformDragAndDropWithMouse()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="InputEventsTest.cs" company="Selenium Committers">
// <copyright file="InputEventsTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -24,7 +24,7 @@

namespace OpenQA.Selenium.BiDi.Input;

internal class InputEventsTest : BiDiTestFixture
internal class InputEventsTests : BiDiTestFixture
{
[Test]
public async Task CanListenToFileDialogOpenedEvent()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="SetFilesTest.cs" company="Selenium Committers">
// <copyright file="SetFilesTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -24,7 +24,7 @@

namespace OpenQA.Selenium.BiDi.Input;

internal class SetFilesTest : BiDiTestFixture
internal class SetFilesTests : BiDiTestFixture
{
private string _tempFile;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="LogTest.cs" company="Selenium Committers">
// <copyright file="LogTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.Log;

internal class LogTest : BiDiTestFixture
internal class LogTests : BiDiTestFixture
{
[Test]
public async Task CanListenToConsoleLog()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="NetworkEventsTest.cs" company="Selenium Committers">
// <copyright file="NetworkEventsTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -24,7 +24,7 @@

namespace OpenQA.Selenium.BiDi.Network;

internal class NetworkEventsTest : BiDiTestFixture
internal class NetworkEventsTests : BiDiTestFixture
{
[Test]
public async Task CanListenToBeforeRequestSentEvent()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="NetworkTest.cs" company="Selenium Committers">
// <copyright file="NetworkTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -24,7 +24,7 @@

namespace OpenQA.Selenium.BiDi.Network;

internal class NetworkTest : BiDiTestFixture
internal class NetworkTests : BiDiTestFixture
{
[Test]
public async Task CanAddDataCollector()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="CallFunctionLocalValueTest.cs" company="Selenium Committers">
// <copyright file="CallFunctionLocalValueTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -22,7 +22,7 @@

namespace OpenQA.Selenium.BiDi.Script;

internal class CallFunctionLocalValueTest : BiDiTestFixture
internal class CallFunctionLocalValueTests : BiDiTestFixture
{
[Test]
public async Task CanCallFunctionWithArgumentUndefined()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="CallFunctionParameterTest.cs" company="Selenium Committers">
// <copyright file="CallFunctionParameterTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.Script;

internal class CallFunctionParameterTest : BiDiTestFixture
internal class CallFunctionParameterTests : BiDiTestFixture
{
[Test]
public async Task CanCallFunctionWithDeclaration()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="CallFunctionRemoteValueTest.cs" company="Selenium Committers">
// <copyright file="CallFunctionRemoteValueTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -22,7 +22,7 @@

namespace OpenQA.Selenium.BiDi.Script;

public class CallFunctionRemoteValueTest : BiDiTestFixture
public class CallFunctionRemoteValueTests : BiDiTestFixture
{
[Test]
public async Task CanCallFunctionAndReturnUndefined()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="EvaluateParametersTest.cs" company="Selenium Committers">
// <copyright file="EvaluateParametersTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -22,7 +22,7 @@

namespace OpenQA.Selenium.BiDi.Script;

internal class EvaluateParametersTest : BiDiTestFixture
internal class EvaluateParametersTests : BiDiTestFixture
{
[Test]
public async Task CanEvaluateScript()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="ScriptCommandsTest.cs" company="Selenium Committers">
// <copyright file="ScriptCommandsTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.Script;

internal class ScriptCommandsTest : BiDiTestFixture
internal class ScriptCommandsTests : BiDiTestFixture
{
[Test]
public async Task CanGetAllRealms()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="ScriptEventsTest.cs" company="Selenium Committers">
// <copyright file="ScriptEventsTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@

namespace OpenQA.Selenium.BiDi.Script;

internal class ScriptEventsTest : BiDiTestFixture
internal class ScriptEventsTests : BiDiTestFixture
{
[Test]
public async Task CanListenToChannelMessage()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="SessionTest.cs" company="Selenium Committers">
// <copyright file="SessionTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -24,7 +24,7 @@

namespace OpenQA.Selenium.BiDi.Session;

internal class SessionTest : BiDiTestFixture
internal class SessionTests : BiDiTestFixture
{
[Test]
public async Task CanGetStatus()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="StorageTest.cs" company="Selenium Committers">
// <copyright file="StorageTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -24,7 +24,7 @@

namespace OpenQA.Selenium.BiDi.Storage;

internal class StorageTest : BiDiTestFixture
internal class StorageTests : BiDiTestFixture
{
[Test]
public async Task CanGetCookieByName()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="WebExtensionTest.cs" company="Selenium Committers">
// <copyright file="WebExtensionTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -25,7 +25,7 @@ namespace OpenQA.Selenium.BiDi.WebExtension;

[IgnoreBrowser(Selenium.Browser.Chrome, ChromiumIgnoreReason)]
[IgnoreBrowser(Selenium.Browser.Edge, ChromiumIgnoreReason)]
internal class WebExtensionTest : BiDiTestFixture
internal class WebExtensionTests : BiDiTestFixture
{
private const string ChromiumIgnoreReason = """
The following test suite wants to set driver arguments via Options, but it breaks CDP/DevTools tests.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="ChildrenFindingTest.cs" company="Selenium Committers">
// <copyright file="ChildrenFindingTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@
namespace OpenQA.Selenium;

[TestFixture]
public class ChildrenFindingTest : DriverTestFixture
public class ChildrenFindingTests : DriverTestFixture
{
[Test]
public void FindElementByXPath()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="ClearTest.cs" company="Selenium Committers">
// <copyright file="ClearTests.cs" company="Selenium Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -23,7 +23,7 @@
namespace OpenQA.Selenium;

[TestFixture]
public class ClearTest : DriverTestFixture
public class ClearTests : DriverTestFixture
{
[Test]
public void WritableTextInputShouldClear()
Expand Down
Loading