Skip to content

Commit 60c1b89

Browse files
e2e: fix invisible element error #960
1 parent 7a6604d commit 60c1b89

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cypress/integration/gutenberg-datatable/free-gutenberg-datatable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ describe('Test Free - gutenberg (datatable)', function() {
1818
it('Verify insertion of charts', function() {
1919
cy.visit('/wp-admin/post-new.php');
2020

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

2324
var charts = Array.from({ length: 1 }, function(_item, index) {
2425
return index + 1;

cypress/integration/gutenberg/free-gutenberg.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ describe('Test Free - gutenberg', function() {
1818
it('Verify insertion of charts', function() {
1919
cy.visit('/wp-admin/post-new.php');
2020

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

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

0 commit comments

Comments
 (0)