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

fix code functional test click file tree item
This commit is contained in:
WangQianliang 2019-05-24 13:34:35 +08:00 committed by GitHub
parent 0da40546f2
commit 43b37d96af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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