mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* [code search] delete PO and test config * remove import * remove from export Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
63686fb5fe
commit
44e1db61ad
3 changed files with 0 additions and 57 deletions
|
@ -141,14 +141,6 @@ export default async function({ readConfigFile }) {
|
|||
pathname: '/app/canvas',
|
||||
hash: '/',
|
||||
},
|
||||
code: {
|
||||
pathname: '/app/code',
|
||||
hash: '/admin',
|
||||
},
|
||||
codeSearch: {
|
||||
pathname: '/app/code',
|
||||
hash: '/search',
|
||||
},
|
||||
uptime: {
|
||||
pathname: '/app/uptime',
|
||||
},
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
// import testSubjSelector from '@kbn/test-subj-selector';
|
||||
// import Keys from 'leadfoot/keys';
|
||||
// import moment from 'moment';
|
||||
|
||||
import { FtrProviderContext } from '../ftr_provider_context';
|
||||
|
||||
export function CodeHomePageProvider({ getService }: FtrProviderContext) {
|
||||
const testSubjects = getService('testSubjects');
|
||||
const log = getService('log');
|
||||
const queryBar = getService('queryBar');
|
||||
|
||||
return {
|
||||
async fillImportRepositoryUrlInputBox(repoUrl: string) {
|
||||
return await testSubjects.setValue('importRepositoryUrlInputBox', repoUrl);
|
||||
},
|
||||
|
||||
async fillSearchQuery(query: string) {
|
||||
// return await testSubjects.setValue('queryInput', query);
|
||||
await queryBar.setQuery(query);
|
||||
},
|
||||
|
||||
async submitSearchQuery() {
|
||||
await queryBar.submitQuery();
|
||||
},
|
||||
|
||||
async clickImportRepositoryButton() {
|
||||
log.info('Click import repository button.');
|
||||
return await testSubjects.click('importRepositoryButton');
|
||||
},
|
||||
|
||||
async clickIndexRepositoryButton() {
|
||||
log.info('Click index repository button.');
|
||||
return await testSubjects.click('indexRepositoryButton');
|
||||
},
|
||||
|
||||
async clickDeleteRepositoryButton() {
|
||||
log.info('Click delete repository button.');
|
||||
return await testSubjects.click('deleteRepositoryButton');
|
||||
},
|
||||
};
|
||||
}
|
|
@ -33,7 +33,6 @@ import { GisPageProvider } from './gis_page';
|
|||
import { StatusPagePageProvider } from './status_page';
|
||||
// @ts-ignore not ts yet
|
||||
import { UpgradeAssistantProvider } from './upgrade_assistant';
|
||||
import { CodeHomePageProvider } from './code_page';
|
||||
// @ts-ignore not ts yet
|
||||
import { RollupPageProvider } from './rollup_page';
|
||||
import { UptimePageProvider } from './uptime_page';
|
||||
|
@ -68,7 +67,6 @@ export const pageObjects = {
|
|||
maps: GisPageProvider,
|
||||
statusPage: StatusPagePageProvider,
|
||||
upgradeAssistant: UpgradeAssistantProvider,
|
||||
code: CodeHomePageProvider,
|
||||
uptime: UptimePageProvider,
|
||||
rollup: RollupPageProvider,
|
||||
licenseManagement: LicenseManagementPageProvider,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue