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-Default completed Dec 12, 2024 in 0s

UI Test Results from chrome on Linux

This run completed at 12/12/2024 21:29:51

Details

Test Results - UI Test Results from chrome on Linux

Expand the following summaries for more details:

Duration: 791.7208999 seconds
Times
Started: 2024-12-12T21:16:25.4866651+00:00
Creation: 2024-12-12T21:16:38.3611080+00:00
Queuing: 2024-12-12T21:16:38.3611081+00:00
Finished: 2024-12-12T21:29:37.2075650+00:00
Duration: 791.7208999 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:16.7715473

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.4458956

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