mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Fixes some types problems (#167228)
## Summary Fixes some types problems in our FTs which are blocking PRs with changes in the functional tests suites. (type diff check is failing)
This commit is contained in:
parent
535edadeaf
commit
ce33109651
3 changed files with 3 additions and 3 deletions
|
@ -217,6 +217,7 @@ GET _search
|
|||
for (const keyPress of keyPresses) {
|
||||
await PageObjects.console.sleepForDebouncePeriod();
|
||||
log.debug('Key', keyPress);
|
||||
// @ts-ignore
|
||||
await PageObjects.console[keyPress]();
|
||||
expect(await PageObjects.console.isAutocompleteVisible()).to.be.eql(false);
|
||||
}
|
||||
|
@ -257,7 +258,7 @@ GET _search
|
|||
for (const char of [method.at(-1), ' ', '_']) {
|
||||
await PageObjects.console.sleepForDebouncePeriod();
|
||||
log.debug('Key type "%s"', char);
|
||||
await PageObjects.console.enterText(char); // e.g. 'Post ' -> 'Post _'
|
||||
await PageObjects.console.enterText(char ?? ''); // e.g. 'Post ' -> 'Post _'
|
||||
}
|
||||
|
||||
await retry.waitFor('autocomplete to be visible', () =>
|
||||
|
|
|
@ -16,7 +16,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const retry = getService('retry');
|
||||
const security = getService('security');
|
||||
|
||||
const { dashboardControls, timePicker, common, dashboard } = getPageObjects([
|
||||
const { dashboardControls, timePicker, dashboard } = getPageObjects([
|
||||
'dashboardControls',
|
||||
'timePicker',
|
||||
'dashboard',
|
||||
|
|
|
@ -14,7 +14,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const log = getService('log');
|
||||
const inspector = getService('inspector');
|
||||
const filterBar = getService('filterBar');
|
||||
const monacoEditor = getService('monacoEditor');
|
||||
const PageObjects = getPageObjects(['visualize', 'visEditor', 'visChart', 'timePicker']);
|
||||
|
||||
describe('inspector', function describeIndexTests() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue