Skip to content

Commit

Permalink
Update VCR cassettes
Browse files Browse the repository at this point in the history
Requests to the API have changed as Pagy indexes pages from 1, not 0 used
by Kaminari. This means the `pages` parameter in API calls to the
`caseworker/claims` endpoint now use 1 instead of 0, and VCR cassettes
need to be updated to reflect this.

This also updates a feature test which had become inaccurate to a
change of onscreen wording as a result of the use of the @pagy_info
helper method to display pagination data.
  • Loading branch information
mpw5 committed Dec 20, 2024
1 parent 7aa38fa commit 8bf7608
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions features/re_allocation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Feature: Case worker admin re-allocates claims

When I click the link 'Re-allocation'
Then I should see a page title "View the re-allocation queue"
And I should see 'Number of claims: 1'
And I should see 'Displaying 1 claim'

When I fill in 'Search' with 'does not exist'
And I click the button 'Search claims'
Expand All @@ -28,7 +28,7 @@ Feature: Case worker admin re-allocates claims

When I click the link 'Re-allocation'
Then I should see a page title "View the re-allocation queue"
And I should see 'Number of claims: 1'
And I should see 'Displaying 1 claim'
And the page should be accessible skipping 'aria-allowed-attr'

When I select case worker "Kanesha Torphy"
Expand Down
6 changes: 3 additions & 3 deletions vcr/cassettes/features/case_workers/admin/allocation.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vcr/cassettes/features/case_workers/admin/reallocation.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vcr/cassettes/features/case_workers/claims/authorise.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vcr/cassettes/features/case_workers/claims/messaging.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vcr/cassettes/features/case_workers/claims/refuse.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vcr/cassettes/features/case_workers/claims/reject.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vcr/cassettes/features/provider_management.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8bf7608

Please sign in to comment.