Skip to content

Commit

Permalink
FSR-1295: Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyurx11 committed Oct 22, 2024
1 parent 253904c commit 609bfc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/routes/target-area.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ lab.experiment('Target-area tests', () => {
Code.expect(response.payload).to.contain('<h2 class="defra-live__title">Latest levels</h2>')
Code.expect(response.payload).to.contain('<p>The River Pinn level at Eastcote Road was 0.35 metres. Property flooding is possible when it goes above 1.40 metres.')
Code.expect(response.payload).to.contain('<p>The River Pinn level at Avenue Road was 0.18 metres. Property flooding is possible when it goes above 1.46 metres.')
Code.expect(response.payload).to.contain('<a href="/station/7173?tid=1747543">Monitor the River Pinn level at Avenue Road</a>')
Code.expect(response.payload).to.contain('<a href="/station/7173?tid=1747543">Monitor the River Pinn level at Avenue Road.</a>')
Code.expect(response.payload).to.contain('<p>The River Pinn level at Moss Close was 0.13 metres. Property flooding is possible when it goes above 1.15 metres.')
Code.expect(response.payload).to.contain('<a href="/station/7201?tid=1747541">Monitor the River Pinn level at Moss Close</a>')
Code.expect(response.payload).to.contain('<a href="/station/7201?tid=1747541">Monitor the River Pinn level at Moss Close.</a>')
Code.expect(response.payload).to.contain('<p class="defra-live__supplementary">These levels will update automatically</p>')
})
lab.test('Check flood severity banner link for Flood warning', async () => {
Expand Down

0 comments on commit 609bfc6

Please sign in to comment.