Skip to content

Commit

Permalink
logout from transform_poweruser user in after method of transform tes…
Browse files Browse the repository at this point in the history
…ts (elastic#70644)

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
Lee Drengenberg and elasticmachine committed Jul 3, 2020
1 parent 2c0651e commit 18cbd3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/test/functional/apps/transform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
*/
import { FtrProviderContext } from '../../ftr_provider_context';

export default function ({ getService, loadTestFile }: FtrProviderContext) {
export default function ({ getService, loadTestFile, getPageObjects }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const transform = getService('transform');
const PageObjects = getPageObjects(['security']);

describe('transform', function () {
this.tags(['ciGroup9', 'transform']);
Expand All @@ -30,6 +31,7 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) {
await esArchiver.unload('ml/ecommerce');

await transform.testResources.resetKibanaTimeZone();
await PageObjects.security.logout();
});

loadTestFile(require.resolve('./creation_index_pattern'));
Expand Down

0 comments on commit 18cbd3f

Please sign in to comment.