Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarantine E2E Component tests related to scrolling within page #47967

Closed
amcasey opened this issue Apr 28, 2023 · 4 comments
Closed

Quarantine E2E Component tests related to scrolling within page #47967

amcasey opened this issue Apr 28, 2023 · 4 comments
Assignees
Labels
area-blazor Includes: Blazor, Razor Components task test-failure test-fixed
Milestone

Comments

@amcasey
Copy link
Member

amcasey commented Apr 28, 2023

Failing Test(s)

  • Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.AnchorWithHrefContainingHashAnotherPage_NavigatesToPageAndScrollsToElement
  • Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigatationManagerNavigateToSameUrlWithHash_ScrollsToElementOnTheSamePage
  • Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerRoutingTest.NavigatationManagerNavigateToSameUrlWithHash_ScrollsToElementOnTheSamePage
  • Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerRoutingTest.AnchorWithHrefContainingHashAnotherPage_NavigatesToPageAndScrollsToElement

Error Message

OpenQA.Selenium.NoSuchElementException : no such element: Unable to locate element: {"method":"css selector","selector":"*[name ="test2"]"}

Stacktrace

at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebElement.FindElement(String mechanism, String value)
   at OpenQA.Selenium.By.<.ctor>b__11_0(ISearchContext context)
   at OpenQA.Selenium.By.FindElement(ISearchContext context)
   at OpenQA.Selenium.WebElement.FindElement(By by)
   at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.AnchorWithHrefContainingHashAnotherPage_NavigatesToPageAndScrollsToElement() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1575
   at InvokeStub_RoutingTest.AnchorWithHrefContainingHashAnotherPage_NavigatesToPageAndScrollsToElement(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Logs


Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=256124

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Apr 28, 2023
@amcasey
Copy link
Member Author

amcasey commented Apr 28, 2023

Appears to have started with #47954 (FYI @surayya-MS)

@amcasey
Copy link
Member Author

amcasey commented Apr 28, 2023

Since the failures started, those tests appear to have been renamed "Navigatation" -> "Navigation".

@MackinnonBuck
Copy link
Member

#47963 should have fixed this issue.

@mitchdenny
Copy link
Member

I guess we can close this now.

@ghost ghost locked as resolved and limited conversation to collaborators Jun 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components task test-failure test-fixed
Projects
None yet
Development

No branches or pull requests

5 participants