Skip to content

Commit b1ffc86

Browse files
committed
Renaming the file to make it consistent
1 parent c238ff3 commit b1ffc86

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

integration_tests/e2e/swap-vos-pin-credit-details.cy.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Page from '../pages/page'
2-
import SwapVosDetailsPage from '../pages/swapVosDetailsPage'
2+
import SwapVosPinCreditDetailsPage from '../pages/swapVosPinCreditDetailsPage'
33

44
context('Swap VOs for PIN Credit Details Page', () => {
5-
let page: SwapVosDetailsPage
5+
let page: SwapVosPinCreditDetailsPage
66
beforeEach(() => {
77
cy.task('reset')
88
cy.task('stubSignIn')
@@ -13,11 +13,11 @@ context('Swap VOs for PIN Credit Details Page', () => {
1313
cy.contains('Swap visiting orders (VOs) for PIN credit').click()
1414
cy.contains('button', 'Continue').click() // Click the Continue button on the 'Select application type' page
1515
cy.contains('button', 'Continue').click() // Click the Continue button on the 'Log prisoner details' page
16-
page = Page.verifyOnPage(SwapVosDetailsPage)
16+
page = Page.verifyOnPage(SwapVosPinCreditDetailsPage)
1717
})
1818

1919
it('should direct the user to the correct page', () => {
20-
Page.verifyOnPage(SwapVosDetailsPage)
20+
Page.verifyOnPage(SwapVosPinCreditDetailsPage)
2121
})
2222
it('should display the correct page title', () => {
2323
page.pageTitle().should('include', 'Log swap VOs for PIN credit details')

integration_tests/pages/swapVosDetailsPage.ts integration_tests/pages/swapVosPinCreditDetailsPage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Page from './page'
22

3-
export default class SwapVosDetailsPage extends Page {
3+
export default class SwapVosPinCreditDetailsPage extends Page {
44
constructor() {
55
super('Log details')
66
}

0 commit comments

Comments
 (0)