-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
Milestone
Description
Seems to be failing consistently with a new SDK update. PR #54868
Failing Test(s)
- Microsoft.AspNetCore.Components.E2ETest.Tests.CustomElementsTest.CanUpdateComplexParameters
- Microsoft.AspNetCore.Components.E2ETest.Tests.CustomElementsTest.CanUpdateSimpleParameters
Error Message
OpenQA.Selenium.BrowserAssertFailedException : OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":".string-param"}
(Session info: chrome=123.0.6312.58); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.WebElement.FindElement(String mechanism, String value) at Microsoft.AspNetCore.Components.E2ETest.Tests.CustomElementsTest.<>c__DisplayClass4_0.<CanUpdateSimpleParameters>b__1() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CustomElementsTest.cs:line 78 at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass3_01.<Equal>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/e44db0eb65ae4c0297eba8d000ad93fb.png'
Page content:
<head>
<meta charset="utf-8">
<base href="/subdir/">
<link href="style.css" rel="stylesheet">
<link rel="icon" href="data:,">
<!-- Used by ExternalContentPackage -->
<link href="_content/TestContentPackage/styles.css" rel="stylesheet">
<!-- App bundle that contains a reference to the scoped css bundle created by TestContentPackage -->
<link href="BasicTestApp.styles.css" rel="stylesheet">
<title>Basic test app</title></head>
<body>
<root>
Select test:
Stacktrace
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
at Microsoft.AspNetCore.Components.E2ETest.Tests.CustomElementsTest.<CanUpdateSimpleParameters>g__ValidateSimpleParameterValues|4_0(Int32 id, Int32 clickCount) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CustomElementsTest.cs:line 78
at Microsoft.AspNetCore.Components.E2ETest.Tests.CustomElementsTest.CanUpdateSimpleParameters() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CustomElementsTest.cs:line 63
at InvokeStub_CustomElementsTest.CanUpdateSimpleParameters(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.FindElement(String mechanism, String value)
at Microsoft.AspNetCore.Components.E2ETest.Tests.CustomElementsTest.<>c__DisplayClass4_0.<CanUpdateSimpleParameters>b__1() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CustomElementsTest.cs:line 78
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass3_0`1.<Equal>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
Logs
Unable to find logs for specific tests. Not sure if components-e2e produces separate test logs.
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=626208&view=results