Skip to content

updating pagination tests with snapshot #149

updating pagination tests with snapshot

updating pagination tests with snapshot #149

GitHub Actions / Unit Tests Summary failed Feb 5, 2025 in 0s

3 fail, 11 skipped, 28 pass in 11s

  1 files  ±  0   5 suites  +5   11s ⏱️ +11s
 42 tests + 42  28 ✅ +28  11 💤 +11  3 ❌ +3 
112 runs  +112  91 ✅ +91  16 💤 +16  5 ❌ +5 

Results for commit 93c13cc. ± Comparison against earlier commit 32c77c6.

Annotations

Check warning on line 0 in paginate_listing

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

All 2 runs failed: checking_vertical_pagination_line_calculation. (paginate_listing)

rlistings.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
sum(nrow(page1_result$strings), length(page1_result$main_footer)) (`actual`) not equal to 3 (`expected`). ('test-paginate_listing.R:138:3')
sum(nrow(page1_result$strings), length(page1_result$main_footer)) (`actual`) not equal to 3 (`expected`).

  `actual`: 5.0
`expected`: 3.0

Check warning on line 0 in paginate_listing

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 2 runs failed: paginate_to_mpfs_works_with_wrapping_on_keycols (paginate_listing)

rlistings.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
sapply(...) (`actual`) not equal to rep(7, 10) (`expected`). ('test-paginate_listing.R:269:3')
sapply(...) (`actual`) not equal to rep(7, 10) (`expected`).

  `actual`: 7 7 5              
`expected`: 7 7 7 7 7 7 7 7 7 7

Check warning on line 0 in paginate_listing

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

2 out of 3 runs failed: paginate_to_mpfs_works_with_wrapping_on_keycols_when_doing_horizontal_pagination (paginate_listing)

rlistings.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
sapply(...) (`actual`) not equal to rep(7, 20) (`expected`). ('test-paginate_listing.R:310:3')
sapply(...) (`actual`) not equal to rep(7, 20) (`expected`).

   `actual[2:6]`: 7 7 7 5 5                            
`expected[2:20]`: 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7