disable explore_repository and history functional tests (#36865) (#37058)

fix code functional test click file tree item
This commit is contained in:
WangQianliang 2019-05-25 00:46:53 +08:00 committed by Mengwei Ding
parent 93c333cc17
commit da44e5e456

View file

@ -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();
});