Skip to content

Commit f685891

Browse files
committed
fix(e2e): Select when NOT minimum view
1 parent b7228c6 commit f685891

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/e2e/specs/CellSelection/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,19 @@ describe('Focusable Cell', () => {
3636
Given('the calendar is open on a higher than minimum view', () => {
3737
createCalendar({
3838
openDate: new Date(2020, 2, 15),
39+
initialView: 'month',
3940
})
4041

4142
clickThe('input')
4243
the('picker-cells').should('have.length', 1)
4344
the('calendar').should('be.visible')
44-
45-
clickThe('up-button')
46-
the('picker-cells').should('have.length', 1)
47-
the('calendar').should('be.visible')
4845
})
4946

5047
When('the user performs a {string} action')
5148

5249
Then('the `day` view is shown', () => {
5350
the('picker-cells').should('have.length', 1)
54-
the('up-button').should('contain', 'Jan 2020')
51+
the('up-button').should('contain', 'Mar 2020')
5552
})
5653

5754
And('the tabbable cell has focus', () => {

0 commit comments

Comments
 (0)