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

UI Test Results from firefox on Linux

This run completed at 12/12/2024 21:34:00

Details

Test Results - UI Test Results from firefox on Linux

Expand the following summaries for more details:

Duration: 1068.8944322 seconds
Times
Started: 2024-12-12T21:16:00.3291295+00:00
Creation: 2024-12-12T21:16:24.7560180+00:00
Queuing: 2024-12-12T21:16:24.7560181+00:00
Finished: 2024-12-12T21:33:49.2235617+00:00
Duration: 1068.8944322 seconds
Outcome: Failed | Total Tests: 593 | Passed: 587 | Failed: 2
Counters
Total: 593
Executed: 589
Passed: 587
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:19.9953505

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: '8'.

Check results: 

Browser: firefox: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 247
   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: '8'.

Check results: 

Browser: firefox: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 247
   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: '8'.

Check results: 

Browser: firefox: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: '8'.

Check results: 

Browser: firefox: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 247
   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 247
   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 247
   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:23.5597257

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


🔘 DotVVM.Samples.Tests.ErrorsTests.Error_ExceptionWindow_GitHubRedirect
Name: DotVVM.Samples.Tests.ErrorsTests.Error_ExceptionWindow_GitHubRedirect
Class Name: DotVVM.Samples.Tests.ErrorsTests
Outcome: NotExecuted 🔘
Duration: 00:00:00.0010000