Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the DataContext type mismatch error message #1892

Draft
wants to merge 1 commit into
base: resource-datacontext
Choose a base branch
from

Improve the DataContext type mismatch error message

e6de8be
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Improve the DataContext type mismatch error message #1892

Improve the DataContext type mismatch error message
e6de8be
Select commit
Loading
Failed to load commit list.
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