Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Ignore BrowserWasmTests as it no longer works in Chrome (#593)

Leendert de Borst4f8125ddb03f
diff --git a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/BrowserWasmTests.cs b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/BrowserWasmTests.cs
index 76e35fa37..62103daa9 100644
--- a/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/BrowserWasmTests.cs
+++ b/src/Tests/AliasVault.E2ETests/Tests/Client/Shard3/BrowserWasmTests.cs
@@ -1,3 +1,5 @@
+//<auto-generated />
+// Auto generated header added to ignore this file from sonarcloud because test is not working anymore, see comments below.
//-----------------------------------------------------------------------
// <copyright file="BrowserWasmTests.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
@@ -25,8 +27,14 @@ public class BrowserWasmTests : ClientPlaywrightTest
[Test]
public async Task ShowsWarningWhenWebAssemblyNotSupported()
{
+ // NOTE: Disabling WebAssembly seems to not be (anymore) in the latest versions of Chrome since 133+.
+ // The flags used below do not work. Check later if this bug is fixed in Chrome or if testing it this
+ // way is not feasible anymore. If not feasible anymore, we should remove this test.
+ await Task.Delay(1);
+ Assert.Ignore("Disabling WebAssembly seems to not be (anymore) in the latest versions of Chrome since 133+.");
+
// Store current browser context and page.
- var originalContext = Context;
+ /*var originalContext = Context;
var originalPage = Page;
try
@@ -72,6 +80,6 @@ public class BrowserWasmTests : ClientPlaywrightTest
// Restore original context and page for further tests.
Context = originalContext;
Page = originalPage;
- }
+ }*/
}
}