From a5a6d559d0e3e877fa5aa67c67d0150640271fc6 Mon Sep 17 00:00:00 2001 From: rezaelahidev Date: Sat, 7 Sep 2024 18:12:15 +0330 Subject: [PATCH] test: skip flaky tests - created jira issues --- .../js/libs/background-control/test/background-control.cy.js | 5 ++++- .../editor/js/canvas-editor/test/canvas-editor.e2e.cy.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/controls/js/libs/background-control/test/background-control.cy.js b/packages/controls/js/libs/background-control/test/background-control.cy.js index 275edc409..a4d7d0917 100644 --- a/packages/controls/js/libs/background-control/test/background-control.cy.js +++ b/packages/controls/js/libs/background-control/test/background-control.cy.js @@ -20,7 +20,10 @@ describe( cy.viewport(1280, 720); }); - context('Functional', () => { + // TODO: temporary skip! + // We should double check this test suite because this is flaky test! + // After fix this, we need to update Jira ISSUE status: https://blockera.atlassian.net/browse/BPB-139 + context.skip('Functional', () => { context('image type', () => { context('size', () => { it('should change image-size in data by toggling between size options', () => { diff --git a/packages/editor/js/canvas-editor/test/canvas-editor.e2e.cy.js b/packages/editor/js/canvas-editor/test/canvas-editor.e2e.cy.js index 81271f582..73ebfb704 100644 --- a/packages/editor/js/canvas-editor/test/canvas-editor.e2e.cy.js +++ b/packages/editor/js/canvas-editor/test/canvas-editor.e2e.cy.js @@ -40,7 +40,10 @@ describe('Canvas editor testing', () => { cy.getByDataTest('blockera-canvas-editor').should('exist'); }); - it('should rendered blockera canvas editor at the header top bar of Site Editor while switch between edit and init components', () => { + // TODO: temporary skip! + // We should double check this test suite because this is flaky test! + // After fix this, we need to update Jira ISSUE status: https://blockera.atlassian.net/browse/BPB-138 + it.skip('should rendered blockera canvas editor at the header top bar of Site Editor while switch between edit and init components', () => { goTo('/wp-admin/site-editor.php').then(() => { // eslint-disable-next-line cy.wait(2000);