Skip to content

Commit

Permalink
Tests: Disable randomly failing e2e tests making Travis unreliable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Apr 26, 2019
1 parent e6fc9c4 commit 93c5ad3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/e2e-tests/specs/links.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ describe( 'Links', () => {
} );

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

Expand Down
4 changes: 3 additions & 1 deletion packages/e2e-tests/specs/plugins/wp-editor-meta-box.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import {
publishPost,
} from '@wordpress/e2e-test-utils';

describe( 'WP Editor Meta Boxes', () => {
// This test isn't reliable on Travis and fails from time to time.
// See: https://github.com/WordPress/gutenberg/pull/15211.
describe.skip( 'WP Editor Meta Boxes', () => {
beforeAll( async () => {
await activatePlugin( 'gutenberg-test-plugin-wp-editor-meta-box' );
await createNewPost();
Expand Down
5 changes: 4 additions & 1 deletion packages/e2e-tests/specs/taxonomies.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ describe( 'Taxonomies', () => {
expect( selectedCategories[ 0 ] ).toEqual( 'z rand category 1' );
} );

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

await openDocumentSettingsSidebar();
Expand Down

0 comments on commit 93c5ad3

Please sign in to comment.