Skip to content

Commit

Permalink
Renaming the file to make it consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetymj committed Feb 7, 2025
1 parent c238ff3 commit b1ffc86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions integration_tests/e2e/swap-vos-pin-credit-details.cy.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Page from '../pages/page'
import SwapVosDetailsPage from '../pages/swapVosDetailsPage'
import SwapVosPinCreditDetailsPage from '../pages/swapVosPinCreditDetailsPage'

context('Swap VOs for PIN Credit Details Page', () => {
let page: SwapVosDetailsPage
let page: SwapVosPinCreditDetailsPage
beforeEach(() => {
cy.task('reset')
cy.task('stubSignIn')
Expand All @@ -13,11 +13,11 @@ context('Swap VOs for PIN Credit Details Page', () => {
cy.contains('Swap visiting orders (VOs) for PIN credit').click()
cy.contains('button', 'Continue').click() // Click the Continue button on the 'Select application type' page
cy.contains('button', 'Continue').click() // Click the Continue button on the 'Log prisoner details' page
page = Page.verifyOnPage(SwapVosDetailsPage)
page = Page.verifyOnPage(SwapVosPinCreditDetailsPage)
})

it('should direct the user to the correct page', () => {
Page.verifyOnPage(SwapVosDetailsPage)
Page.verifyOnPage(SwapVosPinCreditDetailsPage)
})
it('should display the correct page title', () => {
page.pageTitle().should('include', 'Log swap VOs for PIN credit details')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Page from './page'

export default class SwapVosDetailsPage extends Page {
export default class SwapVosPinCreditDetailsPage extends Page {
constructor() {
super('Log details')
}
Expand Down

0 comments on commit b1ffc86

Please sign in to comment.