File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ describe('Test Free - gutenberg', function() {
10
10
} ) ;
11
11
12
12
it ( 'Create all charts' , function ( ) {
13
- cy . create_available_charts ( Cypress . env ( 'chart_types' ) . free ) ;
14
- // cy.create_available_charts(1);
13
+ // cy.create_available_charts(Cypress.env('chart_types').free);
14
+ cy . create_available_charts ( 1 ) ;
15
15
} ) ;
16
16
17
17
it ( 'Verify insertion of charts' , function ( ) {
@@ -22,9 +22,9 @@ describe('Test Free - gutenberg', function() {
22
22
23
23
var charts = [ ] ;
24
24
for ( var i = 1 ; i <= parseInt ( Cypress . env ( 'chart_types' ) . free ) ; i ++ ) {
25
- charts . push ( i ) ;
25
+ // charts.push(i);
26
26
}
27
- // charts.push(1);charts.push(2 );
27
+ charts . push ( 1 ) ;
28
28
29
29
cy . wrap ( charts ) . each ( ( num , i , array ) => {
30
30
// insert a visualizer block
@@ -49,7 +49,7 @@ describe('Test Free - gutenberg', function() {
49
49
cy . wrap ( $block ) . find ( '.visualizer-settings .visualizer-settings__chart > div' ) . should ( 'have.length' , 1 ) ;
50
50
cy . wrap ( $block ) . find ( '.visualizer-settings .components-button-group button' ) . should ( 'have.length' , 2 ) ;
51
51
} ) ;
52
- } ) ;
52
+ } ) . end ( ) ;
53
53
} ) ;
54
54
55
55
} )
You can’t perform that action at this time.
0 commit comments