mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Search] unskip tests of example plugin (#119604)
This commit is contained in:
parent
d2d5432c05
commit
8468061908
4 changed files with 10 additions and 7 deletions
|
@ -299,6 +299,7 @@ export const SearchSessionsExampleApp = ({
|
|||
setIndexPattern(id);
|
||||
}}
|
||||
isClearable={false}
|
||||
data-test-subj="indexPatternSelector"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
|
@ -313,6 +314,7 @@ export const SearchSessionsExampleApp = ({
|
|||
setNumericFieldName(fld?.name);
|
||||
}}
|
||||
sortMatchesBy="startsWith"
|
||||
data-test-subj="searchMetricField"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
|
|
|
@ -16,12 +16,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const comboBox = getService('comboBox');
|
||||
const toasts = getService('toasts');
|
||||
|
||||
describe('Search session example', () => {
|
||||
describe('Search example', () => {
|
||||
const appId = 'searchExamples';
|
||||
|
||||
before(async function () {
|
||||
await PageObjects.common.navigateToApp(appId, { insertTimestamp: false });
|
||||
await comboBox.set('indexPatternSelector', 'logstash-*');
|
||||
await comboBox.setCustom('indexPatternSelector', 'logstash-*');
|
||||
await comboBox.set('searchBucketField', 'geo.src');
|
||||
await comboBox.set('searchMetricField', 'memory');
|
||||
await PageObjects.timePicker.setAbsoluteRange(
|
||||
|
|
|
@ -14,9 +14,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const log = getService('log');
|
||||
const es = getService('es');
|
||||
const searchSessions = getService('searchSessions');
|
||||
const comboBox = getService('comboBox');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/118921
|
||||
describe.skip('Search session example', () => {
|
||||
describe('Search session example', () => {
|
||||
const appId = 'searchExamples';
|
||||
|
||||
before(async function () {
|
||||
|
@ -36,6 +36,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
});
|
||||
|
||||
it('should start search, save session, restore session using "restore" button', async () => {
|
||||
await comboBox.setCustom('indexPatternSelector', 'logstash-*');
|
||||
await comboBox.setCustom('searchMetricField', 'bytes');
|
||||
await testSubjects.clickWhenNotDisabled('startSearch');
|
||||
await testSubjects.find('searchResults-1');
|
||||
await searchSessions.expectState('completed');
|
||||
|
|
|
@ -27,13 +27,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
return text;
|
||||
}
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/116537
|
||||
describe.skip('Search session client side cache', () => {
|
||||
describe('Search session client side cache', () => {
|
||||
const appId = 'searchExamples';
|
||||
|
||||
before(async function () {
|
||||
await PageObjects.common.navigateToApp(appId, { insertTimestamp: false });
|
||||
await comboBox.set('indexPatternSelector', 'logstash-*');
|
||||
await comboBox.setCustom('indexPatternSelector', 'logstash-*');
|
||||
await comboBox.set('searchBucketField', 'extension.raw');
|
||||
await comboBox.set('searchMetricField', 'phpmemory');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue