@@ -10,15 +10,25 @@ Object.values(ReadWriteModes).forEach(mode => {
10
10
} ) ;
11
11
12
12
it ( 'can sort' , ( ) => {
13
- DashTable . getCell ( 0 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Wet' ) ) ;
14
- DashTable . getCell ( 1 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Snowy' ) ) ;
15
- DashTable . getCell ( 2 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Tropical Beaches' ) ) ;
16
- DashTable . getCell ( 3 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Humid' ) ) ;
13
+ DashTable . getCell ( 0 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Wet' ) ) ;
14
+ DashTable . getCell ( 1 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Snowy' ) ) ;
15
+ DashTable . getCell ( 2 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Tropical Beaches' ) ) ;
16
+ DashTable . getCell ( 3 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Humid' ) ) ;
17
+
18
+ DashTable . getCell ( 0 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Wet' ) ) ;
19
+ DashTable . getCell ( 1 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Snowy' ) ) ;
20
+ DashTable . getCell ( 2 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Tropical Beaches' ) ) ;
21
+ DashTable . getCell ( 3 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Humid' ) ) ;
17
22
cy . get ( 'tr th.column-6 .sort' ) . last ( ) . click ( ) ;
18
- DashTable . getCell ( 0 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Humid' ) ) ;
19
- DashTable . getCell ( 1 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Humid' ) ) ;
20
- DashTable . getCell ( 2 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Humid' ) ) ;
21
- DashTable . getCell ( 3 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'Humid' ) ) ;
23
+ DashTable . getCell ( 0 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Humid' ) ) ;
24
+ DashTable . getCell ( 1 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Humid' ) ) ;
25
+ DashTable . getCell ( 2 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Humid' ) ) ;
26
+ DashTable . getCell ( 3 , 6 ) . within ( ( ) => cy . get ( '.Select-value-label' ) . should ( 'have.html' , 'label: Humid' ) ) ;
27
+
28
+ DashTable . getCell ( 0 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Humid' ) ) ;
29
+ DashTable . getCell ( 1 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Humid' ) ) ;
30
+ DashTable . getCell ( 2 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Humid' ) ) ;
31
+ DashTable . getCell ( 3 , 7 ) . within ( ( ) => cy . get ( '.dash-cell-value' ) . should ( 'have.html' , 'label: Humid' ) ) ;
22
32
} ) ;
23
33
} ) ;
24
34
} ) ;
0 commit comments