Skip to content

Commit

Permalink
Merge pull request #662 from ministryofjustice/fix/inprogress-e2e-test
Browse files Browse the repository at this point in the history
Remove check for in progress applications in e2e test
  • Loading branch information
libuk authored Oct 3, 2023
2 parents c7423c8 + ec366d5 commit fa7329d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions e2e/tests/stepDefinitions/apply.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Given, Then } from '@badeball/cypress-cucumber-preprocessor'

import ApplyHelper from '../../../cypress_shared/helpers/apply'
import ListPage from '../../../cypress_shared/pages/apply/list'
import SelectOffencePage from '../../../cypress_shared/pages/apply/selectOffence'
import SubmissionConfirmation from '../../../cypress_shared/pages/apply/submissionConfirmation'
import Page from '../../../cypress_shared/pages/page'
Expand Down Expand Up @@ -53,9 +52,4 @@ Then('I should see a confirmation of the application', () => {
const confirmationPage = Page.verifyOnPage(SubmissionConfirmation)

confirmationPage.clickBackToDashboard()

cy.then(function _() {
const listPage = Page.verifyOnPage(ListPage, [])
listPage.shouldShowInProgressApplications()
})
})

0 comments on commit fa7329d

Please sign in to comment.