Skip to content

Commit 378dbbd

Browse files
committed
fix integration test
1 parent 7810ba1 commit 378dbbd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration_tests/e2e/applications.cy.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ context('Applications Page', () => {
2525
})
2626

2727
it('should display the log an application button', () => {
28-
cy.get('a.govuk-button').should('exist').and('have.text', '\n Log an application\n').and('have.attr', 'href', '#')
28+
cy.get('a.govuk-button')
29+
.should('exist')
30+
.and('have.text', '\n Log an application\n')
31+
.and('have.attr', 'href', '/log/application-type')
2932
})
3033

3134
it('should display all sections with their items', () => {

0 commit comments

Comments
 (0)