We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81e5c15 + a875ac5 commit c588b95Copy full SHA for c588b95
cypress/integration/free-lifecycle.js
@@ -40,10 +40,10 @@ describe('Test Free - lifecycle', function() {
40
const $body = $iframe.contents().find('body');
41
42
// chart selection screen - types
43
- cy.wrap($body).find('.type-box').should( "have.length", 14 );
+ cy.wrap($body).find('.type-box').should( "have.length", Cypress.env('chart_types').free ) + parseInt( Cypress.env('chart_types').pro ) );
44
45
// chart selection screen - pro types
46
- cy.wrap($body).find('.type-box span.visualizder-pro-label').should( "have.length", 6 );
+ cy.wrap($body).find('.type-box span.visualizder-pro-label').should( "have.length", Cypress.env('chart_types').pro );
47
48
// toolbar
49
// cancel button
0 commit comments