Skip to content

Commit 7e9e53e

Browse files
committed
test(e2e): Pair step defs with feature files
1 parent c72d61a commit 7e9e53e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.cypress-cucumber-preprocessorrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"e2e": {
3-
"stepDefinitions": "test/e2e/specs/**/*.{js,mjs,ts,tsx}",
3+
"stepDefinitions": "test/e2e/specs/[filepath]/*.{js,mjs,ts,tsx}",
44
"messages": {
55
"enabled": true,
66
"output": "test/e2e/cucumber-messages.ndjson"

test/e2e/specs/CalendarButton/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ describe('Calendar button', () => {
6060
})
6161

6262
describe('@id-3: Press the enter key', () => {
63-
Given('the calendar is closed', () => {
64-
createCalendar({
65-
calendarButton: true,
66-
})
67-
})
68-
6963
When('the user presses the enter key', () => {
7064
the('calendar-button').type('{enter}')
7165
})

0 commit comments

Comments
 (0)