mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
fix code functional test click file tree item
This commit is contained in:
parent
0da40546f2
commit
43b37d96af
1 changed files with 4 additions and 1 deletions
|
@ -147,10 +147,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