have to select elasticsearch cluster for stack _monitoring_metricbeat test (#122583) (#122615)

* have to select elasticsearch cluster for the same test now

* remove unused browser component

* add ;

(cherry picked from commit af7f28fc5d)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
This commit is contained in:
Kibana Machine 2022-01-10 19:25:40 -05:00 committed by GitHub
parent 355d9e6aee
commit a596b34429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ export default ({ getService, getPageObjects }) => {
const testSubjects = getService('testSubjects');
const isSaml = !!process.env.VM.includes('saml') || !!process.env.VM.includes('oidc');
const clusterOverview = getService('monitoringClusterOverview');
const find = getService('find');
before(async () => {
await browser.setWindowSize(1200, 800);
@ -30,6 +31,7 @@ export default ({ getService, getPageObjects }) => {
});
it('should have Monitoring already enabled', async () => {
await find.clickByLinkText('elasticsearch');
await testSubjects.click('esOverview');
});