File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
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 ) ;
27
+ // charts.push(1);
28
28
29
29
cy . wrap ( charts ) . each ( ( value , i , array ) => {
30
30
// insert a visualizer block
@@ -47,13 +47,7 @@ describe('Test Free - gutenberg', function() {
47
47
cy . wrap ( $block ) . find ( '.visualizer-settings .visualizer-settings__chart > div' ) . should ( 'have.length' , 2 ) ;
48
48
cy . wrap ( $block ) . find ( '.visualizer-settings .components-button-group button' ) . should ( 'have.length' , 2 ) ;
49
49
} ) ;
50
- expect ( true ) . to . equal ( true ) ;
51
50
} ) ;
52
-
53
- expect ( true ) . to . equal ( true ) ;
54
-
55
51
} ) ;
56
52
57
- it ( 'Test' , function ( ) {
58
- } ) ;
59
53
} )
You can’t perform that action at this time.
0 commit comments