Skip to content

Commit 4e9ec56

Browse files
authored
[dotnet] [bidi] Enable WebExtension tests at least for Firefox (#16333)
1 parent e4a5931 commit 4e9ec56

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

dotnet/test/common/BiDi/WebExtension/WebExtensionTest.cs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,23 @@
1818
// </copyright>
1919

2020
using NUnit.Framework;
21-
using System;
2221
using System.IO;
2322
using System.Threading.Tasks;
2423

2524
namespace OpenQA.Selenium.BiDi.WebExtension;
2625

27-
[Ignore("""
28-
The following test suite wants to set driver arguments via Options, but it breaks CDP/DevTools tests.
29-
The desired arguments (for Chromium only?):
30-
--enable-unsafe-extension-debugging
31-
--remote-debugging-pipe
32-
Ignoring these tests for now. Hopefully https://github.com/SeleniumHQ/selenium/issues/15536 will be resolved soon.
33-
""")]
26+
[IgnoreBrowser(Selenium.Browser.Chrome, ChromiumIgnoreReason)]
27+
[IgnoreBrowser(Selenium.Browser.Edge, ChromiumIgnoreReason)]
3428
class WebExtensionTest : BiDiTestFixture
3529
{
30+
const string ChromiumIgnoreReason = """
31+
The following test suite wants to set driver arguments via Options, but it breaks CDP/DevTools tests.
32+
The desired arguments (for Chromium only?):
33+
--enable-unsafe-extension-debugging
34+
--remote-debugging-pipe
35+
Ignoring these tests for now. Hopefully https://github.com/SeleniumHQ/selenium/issues/15536 will be resolved soon.
36+
""";
37+
3638
[Test]
3739
public async Task CanInstallPathWebExtension()
3840
{

0 commit comments

Comments
 (0)