Skip to content

Commit e28b0d8

Browse files
gzioloyouknowriad
authored andcommitted
Tests: Disable randomly failing e2e tests making Travis unreliable (#15211)
1 parent b55b8f1 commit e28b0d8

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

packages/e2e-tests/specs/links.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,9 @@ describe( 'Links', () => {
308308
} );
309309

310310
// Test for regressions of https://github.com/WordPress/gutenberg/issues/10496.
311-
it( 'allows autocomplete suggestions to be navigated with the keyboard', async () => {
311+
// This test isn't reliable on Travis and fails from time to time.
312+
// See: https://github.com/WordPress/gutenberg/pull/15211.
313+
it.skip( 'allows autocomplete suggestions to be navigated with the keyboard', async () => {
312314
const titleText = 'Test post keyboard';
313315
const postURL = await createPostWithTitle( titleText );
314316

packages/e2e-tests/specs/plugins/wp-editor-meta-box.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import {
88
publishPost,
99
} from '@wordpress/e2e-test-utils';
1010

11-
describe( 'WP Editor Meta Boxes', () => {
11+
// This test isn't reliable on Travis and fails from time to time.
12+
// See: https://github.com/WordPress/gutenberg/pull/15211.
13+
describe.skip( 'WP Editor Meta Boxes', () => {
1214
beforeAll( async () => {
1315
await activatePlugin( 'gutenberg-test-plugin-wp-editor-meta-box' );
1416
await createNewPost();

packages/e2e-tests/specs/taxonomies.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ describe( 'Taxonomies', () => {
110110
expect( selectedCategories[ 0 ] ).toEqual( 'z rand category 1' );
111111
} );
112112

113-
it( 'should be able to open the tags panel and create a new tag if the user has the right capabilities', async () => {
113+
// This test isn't reliable locally because repeated execution of the test triggers 400 network
114+
// because of the tag's duplication. Also, it randomly doesn't add a new tag after pressing enter.
115+
// See: https://github.com/WordPress/gutenberg/pull/15211.
116+
it.skip( 'should be able to open the tags panel and create a new tag if the user has the right capabilities', async () => {
114117
await createNewPost();
115118

116119
await openDocumentSettingsSidebar();

0 commit comments

Comments
 (0)