Skip to content

Commit eb32d51

Browse files
committed
DON-1156 – use the correct step in new home page feature definition
1 parent 3125018 commit eb32d51

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

features/read-home-page.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ Feature: Read the homepage
33
As someone interested in understand Big Give, I should be able to read the homepage.
44

55
Scenario: Reading the homepage
6-
Given that I am on my chosen charity's Donate page
6+
Given I am on the home page
77
Then there should be no accessibility violations detected
8-

steps/HomePage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {goToUrl} from "../support/util";
33
import checkNoAccessibilityViolations from "../support/a11y";
44

55
Given(
6-
/^that I am on my the home page page$/,
6+
'I am on the home page',
77
async () => {
88
const baseurl = process.env.BASE_URL;
99
if (!baseurl) throw new Error('BASE_URL not defined in enviornment');

0 commit comments

Comments
 (0)