-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
bugSomething isn't workingSomething isn't workingeasy-reproIssues related to our dependency on easy reproIssues related to our dependency on easy repro
Description
Describe the bug
The above test is failing for the following error:
Test method Capgemini.PowerApps.SpecFlowBindings.UiTests.EntitySubGridStepsFeature.SwitchSubgridView threw exception:
OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":".//div[@class='ag-center-cols-viewport']//div[@role='rowgroup']"}
(Session info: headless chrome=105.0.5195.102)
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4,T5,T6,T7,T8,T9](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9)
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserCommand`1.Execute(IWebDriver driver)
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserPage.Execute[TResult](BrowserCommandOptions options, Func`2 delegate)
at Microsoft.Dynamics365.UIAutomation.Api.UCI.SubGrid.GetSubGridItemsCount(String subgridName)
at Capgemini.PowerApps.SpecFlowBindings.Steps.EntitySubGridSteps.ThenICanSeeRecordsInTheSubgrid(String compare, Int32 count, String subGridName) in \bindings\src\Capgemini.PowerApps.SpecFlowBindings\Steps\EntitySubGridSteps.cs:line 114
at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnAfterLastStep()
To reproduce
Run the UI test suite.
Expected behaviour
Test passes.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Test framework [e.g. NUnit/MSTest/xUnit]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- Power Apps environment version
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeasy-reproIssues related to our dependency on easy reproIssues related to our dependency on easy repro