Skip to content

Commit

Permalink
[7.x] logout from transform_poweruser user in after method of transfo…
Browse files Browse the repository at this point in the history
…rm tests (#70644) (#70738)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

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

Please sign in to comment.