Skip to content

Improve the DataContext type mismatch error message #3259

Improve the DataContext type mismatch error message

Improve the DataContext type mismatch error message #3259

GitHub Actions / chrome-tests-Linux-Production-ExperimentalFeaturesTests completed Dec 12, 2024 in 0s

UI Test Results from chrome on Linux

This run completed at 12/12/2024 21:30:22

Details

Test Results - UI Test Results from chrome on Linux

Expand the following summaries for more details:

Duration: 841.6463715 seconds
Times
Started: 2024-12-12T21:16:14.9053299+00:00
Creation: 2024-12-12T21:16:37.8615548+00:00
Queuing: 2024-12-12T21:16:37.8615549+00:00
Finished: 2024-12-12T21:30:16.5517014+00:00
Duration: 841.6463715 seconds
Outcome: Failed | Total Tests: 545 | Passed: 539 | Failed: 3
Counters
Total: 545
Executed: 542
Passed: 539
Failed: 3
Error: 0
Timeout: 0
Aborted: 0
Inconclusive: 0
PassedButRunAborted: 0
NotRunnable: 0
NotExecuted: 0
Disconnected: 0
Warning: 0
Completed: 0
InProgress: 0
Pending: 0

Tests:

πŸ”˜ DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.Feature_PostbackConcurrency_RedirectPostbackQueue
Name: DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.Feature_PostbackConcurrency_RedirectPostbackQueue
Class Name: DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests
Outcome: NotExecuted πŸ”˜
Duration: 00:00:00.0010000

πŸ”˜ DotVVM.Samples.Tests.Feature.PostbackSpaNavigationTests.PostbackSpaNavigationTest_SuccessfulNavigation_SurvivingStaticCommand
Name: DotVVM.Samples.Tests.Feature.PostbackSpaNavigationTests.PostbackSpaNavigationTest_SuccessfulNavigation_SurvivingStaticCommand
Class Name: DotVVM.Samples.Tests.Feature.PostbackSpaNavigationTests
Outcome: NotExecuted πŸ”˜
Duration: 00:00:00.0010000

πŸ”˜ DotVVM.Samples.Tests.Control.CheckBoxTests.Control_CheckBox_CheckedItemsEmpty
Name: DotVVM.Samples.Tests.Control.CheckBoxTests.Control_CheckBox_CheckedItemsEmpty
Class Name: DotVVM.Samples.Tests.Control.CheckBoxTests
Outcome: NotExecuted πŸ”˜
Duration: 00:00:00.0010000

❌ DotVVM.Samples.Tests.Feature.MarkupControlTests.Feature_MarkupControl_MultiControlHierarchy
Name: DotVVM.Samples.Tests.Feature.MarkupControlTests.Feature_MarkupControl_MultiControlHierarchy
Class Name: DotVVM.Samples.Tests.Feature.MarkupControlTests
Outcome: Failed ❌
Duration: 00:00:16.8687832

Error Message

Riganti.Selenium.Core.Abstractions.Exceptions.SeleniumTestFailedException : 

-----------  Aggregated Inner Exceptions  -----------

// Exception #1: 
Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException: Element count in sequence is different from the expected value. Selector: 'ul:nth-child(0) li', Expected value: '20', Actual value: '1'.

Check results: 

Browser: chrome:fast
Url: http://localhost:16019/FeatureSamples/MarkupControl/MultiControlHierarchy
Screenshot: 

   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 248
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c.<Feature_MarkupControl_MultiControlHierarchy>b__10_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 245




// Exception #2: 
Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException: Element count in sequence is different from the expected value. Selector: 'ul:nth-child(0) li', Expected value: '20', Actual value: '1'.

Check results: 

Browser: chrome:fast
Url: http://localhost:16019/FeatureSamples/MarkupControl/MultiControlHierarchy
Screenshot: 

   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 248
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c.<Feature_MarkupControl_MultiControlHierarchy>b__10_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 245



---- Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException : Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException: Element count in sequence is different from the expected value. Selector: 'ul:nth-child(0) li', Expected value: '20', Actual value: '1'.

Check results: 

Browser: chrome:fast
Url: http://localhost:16019/FeatureSamples/MarkupControl/MultiControlHierarchy
Screenshot: 

---- Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException : Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException: Element count in sequence is different from the expected value. Selector: 'ul:nth-child(0) li', Expected value: '20', Actual value: '1'.

Check results: 

Browser: chrome:fast
Url: http://localhost:16019/FeatureSamples/MarkupControl/MultiControlHierarchy
Screenshot: 

Error Stack Trace:

   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 248
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c.<Feature_MarkupControl_MultiControlHierarchy>b__10_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 245

----- Inner Stack Trace #1 (Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException) -----
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 248
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c.<Feature_MarkupControl_MultiControlHierarchy>b__10_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 245

----- Inner Stack Trace #2 (Riganti.Selenium.Core.Abstractions.Exceptions.SequenceCountException) -----
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 248
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c.<Feature_MarkupControl_MultiControlHierarchy>b__10_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 245


❌ DotVVM.Samples.Tests.Control.GridViewTests.Control_GridView_GridViewPagingSortingBase(path: "ControlSamples/GridView/GridViewPagingSortingServe"···)
Name: DotVVM.Samples.Tests.Control.GridViewTests.Control_GridView_GridViewPagingSortingBase(path: "ControlSamples/GridView/GridViewPagingSortingServe"Β·Β·Β·)
Class Name: DotVVM.Samples.Tests.Control.GridViewTests
Outcome: Failed ❌
Duration: 00:00:19.4338522

Error Message

Riganti.Selenium.Core.Abstractions.Exceptions.SeleniumTestFailedException : 

-----------  Aggregated Inner Exceptions  -----------

// Exception #1: 
Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException

Check results: Element contains wrong content. Expected content: '4', Provided content: '11' 
 Element selector: table:nth-child(0) tr:nth-child(0) td:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/GridView/GridViewPagingSortingServerSide
Screenshot: 

   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_1.<Control_GridView_GridViewPagingSortingBase>b__1() in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 552
   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_0.<Control_GridView_GridViewPagingSortingBase>b__0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 578




// Exception #2: 
Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException

Check results: Element contains wrong content. Expected content: '4', Provided content: '11' 
 Element selector: table:nth-child(0) tr:nth-child(0) td:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/GridView/GridViewPagingSortingServerSide
Screenshot: 

   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_1.<Control_GridView_GridViewPagingSortingBase>b__1() in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 552
   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_0.<Control_GridView_GridViewPagingSortingBase>b__0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 578



---- Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException : Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException

Check results: Element contains wrong content. Expected content: '4', Provided content: '11' 
 Element selector: table:nth-child(0) tr:nth-child(0) td:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/GridView/GridViewPagingSortingServerSide
Screenshot: 

---- Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException : Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException

Check results: Element contains wrong content. Expected content: '4', Provided content: '11' 
 Element selector: table:nth-child(0) tr:nth-child(0) td:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/GridView/GridViewPagingSortingServerSide
Screenshot: 

Error Stack Trace:

   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_1.<Control_GridView_GridViewPagingSortingBase>b__1() in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 552
   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_0.<Control_GridView_GridViewPagingSortingBase>b__0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 578

----- Inner Stack Trace #1 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_1.<Control_GridView_GridViewPagingSortingBase>b__1() in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 552
   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_0.<Control_GridView_GridViewPagingSortingBase>b__0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 578

----- Inner Stack Trace #2 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_1.<Control_GridView_GridViewPagingSortingBase>b__1() in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 552
   at DotVVM.Samples.Tests.Control.GridViewTests.<>c__DisplayClass11_0.<Control_GridView_GridViewPagingSortingBase>b__0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/GridViewTests.cs:line 578


❌ DotVVM.Samples.Tests.Feature.RedirectTests.Feature_Redirect_RedirectPostbackConcurrency
Name: DotVVM.Samples.Tests.Feature.RedirectTests.Feature_Redirect_RedirectPostbackConcurrency
Class Name: DotVVM.Samples.Tests.Feature.RedirectTests
Outcome: Failed ❌
Duration: 00:00:22.6283208

Error Message

Riganti.Selenium.Core.Abstractions.Exceptions.SeleniumTestFailedException : 

-----------  Aggregated Inner Exceptions  -----------

// Exception #1: 
OpenQA.Selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"}
  (Session info: chrome=131.0.6778.139)
   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.Click()
   at Riganti.Selenium.Core.ElementWrapper.Click() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\ElementWrapper.cs:line 438
   at DotVVM.Samples.Tests.Feature.RedirectTests.TryClick(IElementWrapper element) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 89
   at DotVVM.Samples.Tests.Feature.RedirectTests.<Feature_Redirect_RedirectPostbackConcurrency>b__4_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 126
   at Riganti.Selenium.Core.TestInstance.RunTest(IWebBrowser browser) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 138
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RetryAsync(Func`1 action, Int32 testAttemptsCount) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 147


// Exception #2: 
OpenQA.Selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"}
  (Session info: chrome=131.0.6778.139)
   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.Click()
   at Riganti.Selenium.Core.ElementWrapper.Click() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\ElementWrapper.cs:line 438
   at DotVVM.Samples.Tests.Feature.RedirectTests.TryClick(IElementWrapper element) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 89
   at DotVVM.Samples.Tests.Feature.RedirectTests.<Feature_Redirect_RedirectPostbackConcurrency>b__4_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 113
   at Riganti.Selenium.Core.TestInstance.RunTest(IWebBrowser browser) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 138
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RetryAsync(Func`1 action, Int32 testAttemptsCount) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 147

---- OpenQA.Selenium.WebDriverException : unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"}
  (Session info: chrome=131.0.6778.139)
---- OpenQA.Selenium.WebDriverException : unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"}
  (Session info: chrome=131.0.6778.139)

Error Stack Trace:

   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.Click()
   at Riganti.Selenium.Core.ElementWrapper.Click() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\ElementWrapper.cs:line 438
   at DotVVM.Samples.Tests.Feature.RedirectTests.TryClick(IElementWrapper element) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 89
   at DotVVM.Samples.Tests.Feature.RedirectTests.<Feature_Redirect_RedirectPostbackConcurrency>b__4_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 126
   at Riganti.Selenium.Core.TestInstance.RunTest(IWebBrowser browser) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 138
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RetryAsync(Func`1 action, Int32 testAttemptsCount) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 147
----- Inner Stack Trace #1 (OpenQA.Selenium.WebDriverException) -----
   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.Click()
   at Riganti.Selenium.Core.ElementWrapper.Click() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\ElementWrapper.cs:line 438
   at DotVVM.Samples.Tests.Feature.RedirectTests.TryClick(IElementWrapper element) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 89
   at DotVVM.Samples.Tests.Feature.RedirectTests.<Feature_Redirect_RedirectPostbackConcurrency>b__4_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 126
   at Riganti.Selenium.Core.TestInstance.RunTest(IWebBrowser browser) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 138
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RetryAsync(Func`1 action, Int32 testAttemptsCount) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 147
----- Inner Stack Trace #2 (OpenQA.Selenium.WebDriverException) -----
   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.Click()
   at Riganti.Selenium.Core.ElementWrapper.Click() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\ElementWrapper.cs:line 438
   at DotVVM.Samples.Tests.Feature.RedirectTests.TryClick(IElementWrapper element) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 89
   at DotVVM.Samples.Tests.Feature.RedirectTests.<Feature_Redirect_RedirectPostbackConcurrency>b__4_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/RedirectTests.cs:line 113
   at Riganti.Selenium.Core.TestInstance.RunTest(IWebBrowser browser) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 138
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RunAsyncCore() in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 59
   at Riganti.Selenium.Core.TestInstance.RetryAsync(Func`1 action, Int32 testAttemptsCount) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\TestInstance.cs:line 147