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 (#70644)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
Lee Drengenberg and elasticmachine authored Jul 3, 2020
1 parent 78fc9fb commit c3cacba
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 c3cacba

Please sign in to comment.