mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
fix code functional test click file tree item
This commit is contained in:
parent
93c333cc17
commit
da44e5e456
1 changed files with 4 additions and 1 deletions
|
@ -126,10 +126,13 @@ export default function exploreRepositoryFunctonalTests({
|
|||
});
|
||||
|
||||
// Click breadcrumb does not affect file tree
|
||||
await retry.try(async () => {
|
||||
expect(await testSubjects.exists('codeFileBreadcrumb-src')).ok();
|
||||
});
|
||||
await testSubjects.click('codeFileBreadcrumb-src');
|
||||
await retry.try(async () => {
|
||||
expect(await testSubjects.exists('codeFileTreeNode-Directory-Icon-src-open')).ok();
|
||||
expect(await testSubjects.exists('codeFileTreeNode-Directory-Icon-src-doc-open')).ok();
|
||||
expect(await testSubjects.exists('codeFileTreeNode-Directory-Icon-src-doc-closed')).ok();
|
||||
expect(await testSubjects.exists('codeFileTreeNode-Directory-Icon-test-closed')).ok();
|
||||
expect(await testSubjects.exists('codeFileTreeNode-Directory-Icon-views-closed')).ok();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue