Skip to content

Commit

Permalink
Merge pull request #1135 from DFE-Digital/increase-verify-timeout
Browse files Browse the repository at this point in the history
Increase Verify timeout to 120 minutes
  • Loading branch information
jacksonj04 authored Sep 1, 2020
2 parents ae92cb2 + 126eee2 commit 33a481f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog]
## [Unreleased]

- Changes made to content pages ready for academic year 2020-21
- Increase Verify timeout from 90 minutes to 120 minutes

## [Release 080] - 2020-06-25

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/verify/authentications_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Verify
class AuthenticationsController < BasePublicController
CLAIM_TIMEOUT_LENGTH_IN_MINUTES = 90
CLAIM_TIMEOUT_LENGTH_IN_MINUTES = 120

include PartOfClaimJourney

Expand Down
4 changes: 2 additions & 2 deletions spec/features/govuk_verify_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@
end
end

scenario "Users who take longer than 90 minutes to complete Verify are told that their session has timed out", js: true do
scenario "Users who take longer than 120 minutes to complete Verify are told that their session has timed out", js: true do
stub_vsp_translate_response_request
click_on "Continue"

travel 95.minutes do
travel 125.minutes do
click_on "Perform identity check"
expect(page).to have_text("Your session has ended due to inactivity")
end
Expand Down

0 comments on commit 33a481f

Please sign in to comment.