Skip to content

Commit

Permalink
e2e: fix invisible element error #960
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Nov 15, 2022
1 parent 7a6604d commit 60c1b89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ describe('Test Free - gutenberg (datatable)', function() {
it('Verify insertion of charts', function() {
cy.visit('/wp-admin/post-new.php');

cy.clear_welcome();
// get rid of that irritating popup
cy.get('.edit-post-welcome-guide .components-modal__header button').click();

var charts = Array.from({ length: 1 }, function(_item, index) {
return index + 1;
Expand Down
3 changes: 2 additions & 1 deletion cypress/integration/gutenberg/free-gutenberg.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ describe('Test Free - gutenberg', function() {
it('Verify insertion of charts', function() {
cy.visit('/wp-admin/post-new.php');

cy.clear_welcome();
// get rid of that irritating popup
cy.get('.edit-post-welcome-guide .components-modal__header button').click();

var charts = Array.from({ length: parseInt(Cypress.env('chart_types').free - 1) }, function(_item, index) {
return index + 1;
Expand Down

0 comments on commit 60c1b89

Please sign in to comment.