Skip to content

Quarantine E2E Component tests related to scrolling within page #47967

Closed

Description

@amcasey

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

Details
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

Details

Build

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

Activity

  1. ghost added
    area-blazorIncludes: Blazor, Razor Components
    on Apr 28, 2023
  2. amcasey commented on Apr 28, 2023

    @amcasey
    MemberAuthor

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

  3. amcasey commented on Apr 28, 2023

    @amcasey
    MemberAuthor

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

  4. added this to the 8.0-preview5 milestone on May 1, 2023
  5. MackinnonBuck commented on May 1, 2023

    @MackinnonBuck
    Member

    #47963 should have fixed this issue.

  6. mitchdenny commented on May 30, 2023

    @mitchdenny
    Member

    I guess we can close this now.

  7. ghost locked as resolved and limited conversation to collaborators on Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions