forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into event-log/query-support
* master: [HomeApp] Set breadcrumbs when coming back from add data dir (elastic#62186) [Lens] fix error for minInterval>computedInterval for XYChart (elastic#61931) ci: remove AppArch label from ProBot path-labeler (elastic#62211) [Uptime] Optimize get latest monitor API (elastic#61820) [Maps] Separate layer wizards for Clusters and heatmap (elastic#60870) Remove polling delay (elastic#62099) accessibility tests for dashboard panel ( OSS) (elastic#62055) rename README.md to readme, avoiding issues with case change [SIEM] [Detection Engine] Fixes all rules sorting (elastic#62039) [SIEM] CASES Bugs BC2 (elastic#62170) Revert "Endpoint: Add ts-node dev dependency (elastic#61884)" (elastic#62197) Closes elastic#60173 by turning off client caching for the main service map API call (elastic#62111) [SIEM] Restores the _External alert count_ widget's subtitle (elastic#62094) [Maps] Update ems client dependency to 7.8.0 (elastic#62181) [Metrics Alerts] Fix action variables, default message, and EU… (elastic#62061) Update CODEOWNERS with ES-UI apps, including grok debugger. (elastic#62045) Update ILM node attributes blacklist. (elastic#62093)
- Loading branch information
Showing
100 changed files
with
1,428 additions
and
1,002 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* | ||
* Licensed to Elasticsearch B.V. under one or more contributor | ||
* license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright | ||
* ownership. Elasticsearch B.V. licenses this file to you under | ||
* the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
import { FtrProviderContext } from '../ftr_provider_context'; | ||
|
||
export default function({ getService, getPageObjects }: FtrProviderContext) { | ||
const PageObjects = getPageObjects(['common', 'dashboard', 'header', 'home', 'settings']); | ||
const a11y = getService('a11y'); | ||
const dashboardPanelActions = getService('dashboardPanelActions'); | ||
const testSubjects = getService('testSubjects'); | ||
const inspector = getService('inspector'); | ||
|
||
describe('Dashboard Panel', () => { | ||
before(async () => { | ||
await PageObjects.common.navigateToUrl('home', 'tutorial_directory/sampleData'); | ||
await PageObjects.home.addSampleDataSet('flights'); | ||
await PageObjects.common.navigateToApp('dashboard'); | ||
await testSubjects.click('dashboardListingTitleLink-[Flights]-Global-Flight-Dashboard'); | ||
}); | ||
|
||
it('dashboard panel open ', async () => { | ||
const header = await dashboardPanelActions.getPanelHeading('[Flights] Airline Carrier'); | ||
await dashboardPanelActions.toggleContextMenu(header); | ||
await a11y.testAppSnapshot(); | ||
// doing this again will close the Context Menu, so that next snapshot can start clean. | ||
await dashboardPanelActions.toggleContextMenu(header); | ||
}); | ||
|
||
it('dashboard panel inspect', async () => { | ||
await dashboardPanelActions.openInspectorByTitle('[Flights] Airline Carrier'); | ||
await a11y.testAppSnapshot(); | ||
}); | ||
|
||
it('dashboard panel inspector view chooser ', async () => { | ||
await testSubjects.click('inspectorViewChooser'); | ||
await a11y.testAppSnapshot(); | ||
await testSubjects.click('inspectorViewChooser'); | ||
}); | ||
|
||
it('dashboard panel inspector request statistics ', async () => { | ||
await inspector.openInspectorRequestsView(); | ||
await a11y.testAppSnapshot(); | ||
}); | ||
|
||
it('dashboard panel inspector request', async () => { | ||
await testSubjects.click('inspectorRequestDetailRequest'); | ||
await a11y.testAppSnapshot(); | ||
}); | ||
|
||
it('dashboard panel inspector response', async () => { | ||
await testSubjects.click('inspectorRequestDetailResponse'); | ||
await a11y.testAppSnapshot(); | ||
await inspector.close(); | ||
}); | ||
|
||
it('dashboard panel full screen', async () => { | ||
const header = await dashboardPanelActions.getPanelHeading('[Flights] Airline Carrier'); | ||
await dashboardPanelActions.toggleContextMenu(header); | ||
await testSubjects.click('embeddablePanelAction-togglePanel'); | ||
await a11y.testAppSnapshot(); | ||
}); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.