Closed
Description
Failing Test(s)
- Microsoft.AspNetCore.Components.E2ETest.Tests.WebAssemblyAuthenticationTests.WasmAuthentication_Loads
Error Message
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEmptyException: Assert.NotEmpty()
Stacktrace
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEmptyException: Assert.NotEmpty() Failure\r\n at Xunit.Assert.NotEmpty(IEnumerable collection) in C:\\Dev\\xunit\\xunit\\src\\xunit.assert\\Asserts\\CollectionAsserts.cs:line 331\r\n at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass15_0.b__0() in /_/src/Shared/E2ETesting/WaitAssert.cs:line 72\r\n at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.b__0(IWebDriver _) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 109\r\nScreen shot captured at 'D:\\workspace\\_work\\1\\s\\artifacts\\TestResults\\Release\\Microsoft.AspNetCore.Components.E2ETests\\8f2396d8f40c4618ab0d42d246fb972d.png'\r\nEncountered browser errors\r\n[2021-07-30T04:56:27Z] [Debug] http://127.0.0.1:1150/_framework/dotnet.6.0.0-rc.1.21374.7.js 0:129635 \"mono_wasm_runtime_ready\" \"fe00e07a-5519-4dfe-b35a-f867dbaf2e28\"\r\n[2021-07-30T04:56:34Z] [Info] http://127.0.0.1:1150/_framework/blazor.webassembly.js 0:3155 \"info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]\\n Authorization failed. These requirements were not met:\\n DenyAnonymousAuthorizationRequirement: Requires an authenticated user.\"Page content:\r\n\r\n \r\n \r\n <title>Wasm.Authentication.Client</title>\r\n \r\n \r\n \r\n\r\n\r\n\r\n
Wasm.Authentication.Client\r\n
\r\n\r\n
Home\r\n
\r\n
Counter\r\n
\r\n
Fetch data\r\n
\r\n
User\r\n
\r\n
Make admin\r\n
\r\n
Settings\r\n
\r\n\r\n
\r\n About
\r\n\r\n
Authorizing...
\r\n\r\n
\r\n An unhandled error has occurred.\r\n Reload\r\n 🗙\r\n
\r\n\r\n <script src=\"_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js\"></script>\r\n <script src=\"_framework/blazor.webassembly.js\"></script>\r\n\r\n\r\n<script>var Module; window.__wasmmodulecallback__(); delete window.__wasmmodulecallback__;</script><script src=\"_framework/dotnet.6.0.0-rc.1.21374.7.js\" defer=\"\" integrity=\"sha256-QDX
Logs