File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
test/e2e/specs/CellSelection Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -36,22 +36,19 @@ describe('Focusable Cell', () => {
36
36
Given ( 'the calendar is open on a higher than minimum view' , ( ) => {
37
37
createCalendar ( {
38
38
openDate : new Date ( 2020 , 2 , 15 ) ,
39
+ initialView : 'month' ,
39
40
} )
40
41
41
42
clickThe ( 'input' )
42
43
the ( 'picker-cells' ) . should ( 'have.length' , 1 )
43
44
the ( 'calendar' ) . should ( 'be.visible' )
44
-
45
- clickThe ( 'up-button' )
46
- the ( 'picker-cells' ) . should ( 'have.length' , 1 )
47
- the ( 'calendar' ) . should ( 'be.visible' )
48
45
} )
49
46
50
47
When ( 'the user performs a {string} action' )
51
48
52
49
Then ( 'the `day` view is shown' , ( ) => {
53
50
the ( 'picker-cells' ) . should ( 'have.length' , 1 )
54
- the ( 'up-button' ) . should ( 'contain' , 'Jan 2020' )
51
+ the ( 'up-button' ) . should ( 'contain' , 'Mar 2020' )
55
52
} )
56
53
57
54
And ( 'the tabbable cell has focus' , ( ) => {
You can’t perform that action at this time.
0 commit comments