mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[DOCS] Fix case visualization screenshot failure (#153813)
This commit is contained in:
parent
137a252d25
commit
fe683844e8
3 changed files with 3 additions and 2 deletions
Binary file not shown.
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 311 KiB |
|
@ -65,7 +65,7 @@ export function CasesSingleViewServiceProvider({ getService, getPageObject }: Ft
|
|||
'[data-test-subj="euiMarkdownEditorToolbarButton"][aria-label="Visualization"]'
|
||||
);
|
||||
await addVisualizationButton.click();
|
||||
await testSubjects.existOrFail('savedObjectFinderItemList', { timeout: 10 * 1000 });
|
||||
await testSubjects.existOrFail('savedObjectsFinderTable', { timeout: 10 * 1000 });
|
||||
|
||||
// select visualization
|
||||
await testSubjects.setValue('savedObjectFinderSearchInput', visName, {
|
||||
|
|
|
@ -31,7 +31,8 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
it('cases visualization screenshot', async () => {
|
||||
await cases.navigation.navigateToApp();
|
||||
await cases.navigation.navigateToSingleCase('cases', CASE_ID);
|
||||
await cases.singleCase.addVisualization('Transactions per day');
|
||||
await cases.singleCase.addVisualization('[Logs] Bytes distribution');
|
||||
|
||||
await cases.singleCase.openVisualizationButtonTooltip();
|
||||
await commonScreenshots.takeScreenshot(
|
||||
'cases-visualization',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue