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

DataPager styling & templating #1837

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Added PageNumberTemplate and capabilities in DataPager control

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

DataPager styling & templating #1837

Added PageNumberTemplate and capabilities in DataPager control
d7c726c
Select commit
Loading
Failed to load commit list.
GitHub Actions / chrome-tests-Linux-Production-ExperimentalFeaturesTests completed Sep 1, 2024 in 0s

UI Test Results from chrome on Linux

This run completed at 09/01/2024 16:10:23

Details

Test Results - UI Test Results from chrome on Linux

Expand the following summaries for more details:

Duration: 783.1659266 seconds
Times
Started: 2024-09-01T15:57:11.4712207+00:00
Creation: 2024-09-01T15:57:27.5403854+00:00
Queuing: 2024-09-01T15:57:27.5403855+00:00
Finished: 2024-09-01T16:10:14.6371473+00:00
Duration: 783.1659266 seconds
Outcome: Failed | Total Tests: 539 | Passed: 532 | Failed: 4
Counters
Total: 539
Executed: 536
Passed: 532
Failed: 4
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.Control.DataPagerTests.Control_DataPager_DataPager_DisabledAttribute
Name: DotVVM.Samples.Tests.Control.DataPagerTests.Control_DataPager_DataPager_DisabledAttribute
Class Name: DotVVM.Samples.Tests.Control.DataPagerTests
Outcome: Failed
Duration: 00:00:22.5383144

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: '2', Provided content: '' 
 Element selector: #pager1:nth-child(0) li.active:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_DataPager_DisabledAttribute>b__3_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 123




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

Check results: Element contains wrong content. Expected content: '2', Provided content: '' 
 Element selector: #pager1:nth-child(0) li.active:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_DataPager_DisabledAttribute>b__3_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 123



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

Check results: Element contains wrong content. Expected content: '2', Provided content: '' 
 Element selector: #pager1:nth-child(0) li.active:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

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

Check results: Element contains wrong content. Expected content: '2', Provided content: '' 
 Element selector: #pager1:nth-child(0) li.active:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

Error Stack Trace:

   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_DataPager_DisabledAttribute>b__3_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 123

----- Inner Stack Trace #1 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_DataPager_DisabledAttribute>b__3_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 123

----- Inner Stack Trace #2 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_DataPager_DisabledAttribute>b__3_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 123


❌ DotVVM.Samples.Tests.Control.DataPagerTests.Control_DataPager_DataPager_ActiveCssClass
Name: DotVVM.Samples.Tests.Control.DataPagerTests.Control_DataPager_DataPager_ActiveCssClass
Class Name: DotVVM.Samples.Tests.Control.DataPagerTests
Outcome: Failed
Duration: 00:00:17.4479937

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: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

   at DotVVM.Samples.Tests.Control.DataPagerTests.<>c.<Control_DataPager_DataPager_ActiveCssClass>b__2_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 60




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

Check results: Element contains wrong content. Expected content: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

   at DotVVM.Samples.Tests.Control.DataPagerTests.<>c.<Control_DataPager_DataPager_ActiveCssClass>b__2_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 60



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

Check results: Element contains wrong content. Expected content: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

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

Check results: Element contains wrong content. Expected content: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

Error Stack Trace:

   at DotVVM.Samples.Tests.Control.DataPagerTests.<>c.<Control_DataPager_DataPager_ActiveCssClass>b__2_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 60

----- Inner Stack Trace #1 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.DataPagerTests.<>c.<Control_DataPager_DataPager_ActiveCssClass>b__2_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 60

----- Inner Stack Trace #2 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.DataPagerTests.<>c.<Control_DataPager_DataPager_ActiveCssClass>b__2_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 60


🔘 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.PostbackConcurrencyTests.Feature_PostbackConcurrency_StressTest_Default
Name: DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.Feature_PostbackConcurrency_StressTest_Default
Class Name: DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests
Outcome: Failed
Duration: 00:01:01.2588446

Error Message

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

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

// Exception #1: 
Xunit.Sdk.InRangeException: Assert.InRange() Failure: Value not in range
Range:  (1 - 100)
Actual: 0
   at Riganti.Selenium.Core.BrowserWrapper.WaitFor(Action action, Int32 timeout, Int32 checkInterval, String failureMessage) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 679
   at DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.<>c.<Feature_PostbackConcurrency_StressTest_Default>b__6_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/PostbackConcurrencyTests.cs:line 159
   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: 
Xunit.Sdk.InRangeException: Assert.InRange() Failure: Value not in range
Range:  (1 - 100)
Actual: 0
   at Riganti.Selenium.Core.BrowserWrapper.WaitFor(Action action, Int32 timeout, Int32 checkInterval, String failureMessage) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 679
   at DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.<>c.<Feature_PostbackConcurrency_StressTest_Default>b__6_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/PostbackConcurrencyTests.cs:line 159
   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

---- Assert.InRange() Failure: Value not in range
Range:  (1 - 100)
Actual: 0
---- Assert.InRange() Failure: Value not in range
Range:  (1 - 100)
Actual: 0

Error Stack Trace:

   at Riganti.Selenium.Core.BrowserWrapper.WaitFor(Action action, Int32 timeout, Int32 checkInterval, String failureMessage) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 679
   at DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.<>c.<Feature_PostbackConcurrency_StressTest_Default>b__6_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/PostbackConcurrencyTests.cs:line 159
   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 (Xunit.Sdk.InRangeException) -----
   at Riganti.Selenium.Core.BrowserWrapper.WaitFor(Action action, Int32 timeout, Int32 checkInterval, String failureMessage) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 679
   at DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.<>c.<Feature_PostbackConcurrency_StressTest_Default>b__6_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/PostbackConcurrencyTests.cs:line 159
   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 (Xunit.Sdk.InRangeException) -----
   at Riganti.Selenium.Core.BrowserWrapper.WaitFor(Action action, Int32 timeout, Int32 checkInterval, String failureMessage) in D:\ba\_work\129\s\src\Core\Riganti.Selenium.Core\BrowserWrapper.cs:line 679
   at DotVVM.Samples.Tests.Feature.PostbackConcurrencyTests.<>c.<Feature_PostbackConcurrency_StressTest_Default>b__6_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Feature/PostbackConcurrencyTests.cs:line 159
   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.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.Control.DataPagerTests.Control_DataPager_NearPageIndexes
Name: DotVVM.Samples.Tests.Control.DataPagerTests.Control_DataPager_NearPageIndexes
Class Name: DotVVM.Samples.Tests.Control.DataPagerTests
Outcome: Failed
Duration: 00:00:17.6541329

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: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:not([style*='none']):nth-child(0) span,a:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>g__CheckNearPageIndexes|7_1(IEnumerable`1 indexes, <>c__DisplayClass7_0& ) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 264
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>b__7_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 286




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

Check results: Element contains wrong content. Expected content: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:not([style*='none']):nth-child(0) span,a:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>g__CheckNearPageIndexes|7_1(IEnumerable`1 indexes, <>c__DisplayClass7_0& ) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 264
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>b__7_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 286



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

Check results: Element contains wrong content. Expected content: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:not([style*='none']):nth-child(0) span,a:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

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

Check results: Element contains wrong content. Expected content: '1', Provided content: '' 
 Element selector: #pager1:nth-child(0) li:not([style*='none']):nth-child(0) span,a:nth-child(0) 


Browser: chrome:fast
Url: http://localhost:16019/ControlSamples/DataPager/DataPager
Screenshot: 

Error Stack Trace:

   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>g__CheckNearPageIndexes|7_1(IEnumerable`1 indexes, <>c__DisplayClass7_0& ) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 264
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>b__7_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 286

----- Inner Stack Trace #1 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>g__CheckNearPageIndexes|7_1(IEnumerable`1 indexes, <>c__DisplayClass7_0& ) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 264
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>b__7_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 286

----- Inner Stack Trace #2 (Riganti.Selenium.Core.Abstractions.Exceptions.UnexpectedElementStateException) -----
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>g__CheckNearPageIndexes|7_1(IEnumerable`1 indexes, <>c__DisplayClass7_0& ) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 264
   at DotVVM.Samples.Tests.Control.DataPagerTests.<Control_DataPager_NearPageIndexes>b__7_0(IBrowserWrapper browser) in /_/src/Samples/Tests/Tests/Control/DataPagerTests.cs:line 286