Skip to content

Commit a0c091d

Browse files
test all chart types
1 parent 7f6d9ab commit a0c091d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

cypress/integration/free-gutenberg.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ describe('Test Free - gutenberg', function() {
1010
});
1111

1212
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);
1515
});
1616

1717
it('Verify insertion of charts', function() {
@@ -22,9 +22,9 @@ describe('Test Free - gutenberg', function() {
2222

2323
var charts = [];
2424
for(var i = 1; i <= parseInt(Cypress.env('chart_types').free); i++){
25-
//charts.push(i);
25+
charts.push(i);
2626
}
27-
charts.push(1);
27+
//charts.push(1);
2828

2929
cy.wrap(charts).each((value, i, array) => {
3030
// insert a visualizer block
@@ -47,13 +47,7 @@ describe('Test Free - gutenberg', function() {
4747
cy.wrap($block).find('.visualizer-settings .visualizer-settings__chart > div').should('have.length', 2);
4848
cy.wrap($block).find('.visualizer-settings .components-button-group button').should('have.length', 2);
4949
});
50-
expect(true).to.equal(true);
5150
});
52-
53-
expect(true).to.equal(true);
54-
5551
});
5652

57-
it('Test', function() {
58-
});
5953
})

0 commit comments

Comments
 (0)