fixes 'Configures a new connector' flaky test (#69011)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
MadameSheema 2020-06-15 16:58:47 +02:00 committed by GitHub
parent 2a9fc23673
commit 80ab0d9792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,8 +17,7 @@ import { loginAndWaitForPageWithoutDateRange } from '../tasks/login';
import { CASES } from '../urls/navigation';
// FLAKY: https://github.com/elastic/kibana/issues/65278
describe.skip('Cases connectors', () => {
describe('Cases connectors', () => {
before(() => {
cy.server();
cy.route('POST', '**/api/actions/action').as('createConnector');
@ -33,6 +32,7 @@ describe.skip('Cases connectors', () => {
cy.wait('@createConnector').its('status').should('eql', 200);
cy.get(TOASTER).should('have.text', "Created 'New connector'");
cy.get(TOASTER).should('not.exist');
selectLastConnectorCreated();