mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Backport #8420
[functionalTests/console] fix test subject selector by focusing on help-specific button
This commit is contained in:
parent
ee6f222496
commit
2d7f28563b
3 changed files with 3 additions and 3 deletions
|
@ -24,4 +24,4 @@
|
|||
<li>Study the keyboard shortcuts under the Help button. Good stuff in there!</li>
|
||||
</ul>
|
||||
|
||||
<button type="button" class="btn-primary" ng-click="kbnTopNav.close()">Get to work</button>
|
||||
<button type="button" class="btn-primary" data-test-subj="help-close-button" ng-click="kbnTopNav.close()">Get to work</button>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</navbar>
|
||||
<div class="config" ng-show="kbnTopNav.rendered">
|
||||
<div id="template_wrapper" class="container-fluid"></div>
|
||||
<div class="config-close remove" ng-click="kbnTopNav.close()" data-test-subj="config-close-button">
|
||||
<div class="config-close remove" ng-click="kbnTopNav.close()">
|
||||
<i class="fa fa-chevron-circle-up"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -36,7 +36,7 @@ export default class ConsolePage {
|
|||
}
|
||||
|
||||
async collapseHelp() {
|
||||
const closeButton = await PageObjects.common.findTestSubject('console top-nav config-close-button');
|
||||
const closeButton = await PageObjects.common.findTestSubject('console help-close-button');
|
||||
await closeButton.click();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue