Skip to content

Commit

Permalink
Updated home page text.
Browse files Browse the repository at this point in the history
Updated TestCafe test.
  • Loading branch information
weskubo-cgi committed Mar 4, 2022
1 parent ab82eff commit 32562d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion frontend/src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<h1>Welcome to MSP Direct</h1>
<h1>Welcome to the New MSP Direct</h1>
<p>MSP Direct has been updated to enhance user experience and to meet current Ministry of Health technology standards for web applications.</p>
<p>MSP Direct has a new look with improved navigation functions. Users will still be able to make the required account adjustments to maintain their group members' accounts.</p>
<p>To learn more about MSP Direct and available functions please visit: <a href="https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/msp-direct" target="_blank">MSP Direct - Province of British Columbia (gov.bc.ca)</a>.</p>
</template>

<script>
Expand Down
4 changes: 2 additions & 2 deletions frontend/tests/e2e/tests/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ test('Check Home tab is clickable ', async (t) => {
await t.click(HomePage.homeLink)
})

test('Check heading exist on Home page! ', async (tc) => {
await tc.click(HomePage.homeLink).expect(HomePage.heading.innerText).eql('Welcome to MSP Direct')
test('Check heading exists on Home page! ', async (tc) => {
await tc.click(HomePage.homeLink).expect(HomePage.heading.innerText).eql('Welcome to the New MSP Direct')
})

0 comments on commit 32562d4

Please sign in to comment.