Skip to content

Commit

Permalink
Revert "Functional tests for the Getting Started page (elastic#11850)"
Browse files Browse the repository at this point in the history
This reverts commit 099178a.
  • Loading branch information
ycombinator committed Jun 3, 2017
1 parent 6440349 commit 4aee053
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 91 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<div
class="kuiViewContent gettingStartedContent"
data-test-subj="gettingStartedContainer"
>
<div class="kuiViewContent gettingStartedContent" data-test-subj="gettingStartedContainer">

<div
ng-if="!gettingStarted.hasOptedOut()"
Expand Down
78 changes: 0 additions & 78 deletions test/functional/apps/management/_getting_started.js

This file was deleted.

1 change: 0 additions & 1 deletion test/functional/apps/management/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export default function ({ getService, loadTestFile }) {
loadTestFile(require.resolve('./_scripted_fields'));
loadTestFile(require.resolve('./_index_pattern_filter'));
loadTestFile(require.resolve('./_scripted_fields_filter'));
loadTestFile(require.resolve('./_getting_started'));
});

}
9 changes: 1 addition & 8 deletions test/functional/page_objects/getting_started_page.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
export function GettingStartedPageProvider({ getService, getPageObjects }) {
export function GettingStartedPageProvider({ getService }) {

const log = getService('log');
const retry = getService('retry');
const testSubjects = getService('testSubjects');

const PageObjects = getPageObjects(['common']);

class GettingStartedPage {
async doesContainerExist() {
return await testSubjects.exists('gettingStartedContainer');
Expand All @@ -20,11 +18,6 @@ export function GettingStartedPageProvider({ getService, getPageObjects }) {
}
});
}

async navigateTo() {
log.debug('Navigating directly to Getting Started page');
await PageObjects.common.navigateToUrl('settings', 'kibana/getting_started');
}
}

return new GettingStartedPage();
Expand Down

0 comments on commit 4aee053

Please sign in to comment.