From ee3bd4447661b4ccf4359ddce78b9e710323e9f8 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Thu, 18 Apr 2019 14:40:05 -0400 Subject: [PATCH] Testing: Skip unreliable end-to-end tests --- packages/e2e-tests/specs/block-deletion.test.js | 2 +- packages/e2e-tests/specs/embedding.test.js | 6 +++--- packages/e2e-tests/specs/links.test.js | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/e2e-tests/specs/block-deletion.test.js b/packages/e2e-tests/specs/block-deletion.test.js index 11227af689d61..01cc63ff15309 100644 --- a/packages/e2e-tests/specs/block-deletion.test.js +++ b/packages/e2e-tests/specs/block-deletion.test.js @@ -30,7 +30,7 @@ describe( 'block deletion -', () => { beforeEach( addThreeParagraphsToNewPost ); describe( 'deleting the third block using the Remove Block menu item', () => { - it( 'results in two remaining blocks and positions the caret at the end of the second block', async () => { + it.skip( 'results in two remaining blocks and positions the caret at the end of the second block', async () => { // The blocks can't be empty to trigger the toolbar await page.keyboard.type( 'Paragraph to remove' ); diff --git a/packages/e2e-tests/specs/embedding.test.js b/packages/e2e-tests/specs/embedding.test.js index ff7d4396496e6..df7fdb30a7a4c 100644 --- a/packages/e2e-tests/specs/embedding.test.js +++ b/packages/e2e-tests/specs/embedding.test.js @@ -272,7 +272,7 @@ describe( 'Embedding content', () => { await page.waitForSelector( '.wp-block-embed-wordpress' ); } ); - it( 'should transform from video to embed block when YouTube URL is pasted', async () => { + it.skip( 'should transform from video to embed block when YouTube URL is pasted', async () => { await clickBlockAppender(); await insertBlock( 'Video' ); await page.click( '.editor-media-placeholder__url-input-container button' ); @@ -281,7 +281,7 @@ describe( 'Embedding content', () => { await page.waitForSelector( '.wp-block-embed-youtube' ); } ); - it( 'should transform from image to embed block when Instagram URL is pasted', async () => { + it.skip( 'should transform from image to embed block when Instagram URL is pasted', async () => { await clickBlockAppender(); await page.keyboard.type( '/image' ); await page.keyboard.press( 'Enter' ); @@ -291,7 +291,7 @@ describe( 'Embedding content', () => { await page.waitForSelector( '.wp-block-embed-instagram' ); } ); - it( 'should transform from audio to embed block when Soundcloud URL is pasted', async () => { + it.skip( 'should transform from audio to embed block when Soundcloud URL is pasted', async () => { await clickBlockAppender(); await page.keyboard.type( '/audio' ); await page.keyboard.press( 'Enter' ); diff --git a/packages/e2e-tests/specs/links.test.js b/packages/e2e-tests/specs/links.test.js index d9d10541fabe1..e2d131a77043a 100644 --- a/packages/e2e-tests/specs/links.test.js +++ b/packages/e2e-tests/specs/links.test.js @@ -266,8 +266,7 @@ describe( 'Links', () => { }; // Test for regressions of https://github.com/WordPress/gutenberg/issues/10496. - // Disabled until improved as it wasn't reliable enough. - it( 'allows autocomplete suggestions to be selected with the mouse', async () => { + it.skip( 'allows autocomplete suggestions to be selected with the mouse', async () => { // First create a post that we can search for using the link autocompletion. const titleText = 'Test post mouse'; const postURL = await createPostWithTitle( titleText );