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 / firefox-tests-Linux-Production-Default completed Dec 12, 2024 in 0s

UI Test Results from firefox on Linux

This run completed at 12/12/2024 21:32:16

Details

Test Results - UI Test Results from firefox on Linux

Expand the following summaries for more details:

Duration: 964.5299371 seconds
Times
Started: 2024-12-12T21:16:06.8563502+00:00
Creation: 2024-12-12T21:16:17.5065490+00:00
Queuing: 2024-12-12T21:16:17.5065491+00:00
Finished: 2024-12-12T21:32:11.3862873+00:00
Duration: 964.5299371 seconds
Outcome: Failed | Total Tests: 545 | Passed: 540 | Failed: 2
Counters
Total: 545
Executed: 542
Passed: 540
Failed: 2
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:03.2364093

Error Message

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

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

// Exception #1: 
OpenQA.Selenium.NoSuchElementException: Element not found. Selector: ul; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
   at Riganti.Selenium.Core.BrowserWrapper.First(String selector, Func`2 tmpSelectMethod) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 413
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 246
   at Riganti.Selenium.Core.WaitForExecutor.WaitFor(Action condition, Int32 timeout, String failureMessage, Int32 checkInterval, Boolean throwOriginal) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\WaitForExecutor.cs:line 22
   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
   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.NoSuchElementException: Element not found. Selector: ul; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
   at Riganti.Selenium.Core.BrowserWrapper.First(String selector, Func`2 tmpSelectMethod) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 413
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 246
   at Riganti.Selenium.Core.WaitForExecutor.WaitFor(Action condition, Int32 timeout, String failureMessage, Int32 checkInterval, Boolean throwOriginal) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\WaitForExecutor.cs:line 22
   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
   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.NoSuchElementException : Element not found. Selector: ul; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
---- OpenQA.Selenium.NoSuchElementException : Element not found. Selector: ul; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception

Error Stack Trace:

   at Riganti.Selenium.Core.BrowserWrapper.First(String selector, Func`2 tmpSelectMethod) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 413
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 246
   at Riganti.Selenium.Core.WaitForExecutor.WaitFor(Action condition, Int32 timeout, String failureMessage, Int32 checkInterval, Boolean throwOriginal) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\WaitForExecutor.cs:line 22
   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
   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.NoSuchElementException) -----
   at Riganti.Selenium.Core.BrowserWrapper.First(String selector, Func`2 tmpSelectMethod) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 413
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 246
   at Riganti.Selenium.Core.WaitForExecutor.WaitFor(Action condition, Int32 timeout, String failureMessage, Int32 checkInterval, Boolean throwOriginal) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\WaitForExecutor.cs:line 22
   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
   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.NoSuchElementException) -----
   at Riganti.Selenium.Core.BrowserWrapper.First(String selector, Func`2 tmpSelectMethod) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 413
   at DotVVM.Samples.Tests.Feature.MarkupControlTests.<>c__DisplayClass10_0.<Feature_MarkupControl_MultiControlHierarchy>b__1() in /_/src/Samples/Tests/Tests/Feature/MarkupControlTests.cs:line 246
   at Riganti.Selenium.Core.WaitForExecutor.WaitFor(Action condition, Int32 timeout, String failureMessage, Int32 checkInterval, Boolean throwOriginal) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\WaitForExecutor.cs:line 22
   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
   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

❌ 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:23.3833911

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: firefox: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: firefox: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: firefox: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: firefox: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