[APM] Fixing service overview test (#131454)

* skipping flaky test

* Fix environment suggestion test

* removing comment

Co-authored-by: Kate Patticha <aikaterini.patticha@elastic.co>
This commit is contained in:
Cauê Marcondes 2022-05-04 10:41:26 -04:00 committed by GitHub
parent 81161c26ac
commit 0c96914837
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,14 +220,18 @@ describe('Service Overview', () => {
'suggestionsRequest'
);
cy.get('[data-test-subj="environmentFilter"]').type('pro').click();
cy.get('[data-test-subj="environmentFilter"]').type('production');
cy.expectAPIsToHaveBeenCalledWith({
apisIntercepted: ['@suggestionsRequest'],
value: 'fieldValue=pro',
value: 'fieldValue=production',
});
cy.contains('button', 'production').click();
cy.get(
'[data-test-subj="comboBoxOptionsList environmentFilter-optionsList"]'
)
.contains('production')
.click({ force: true });
cy.expectAPIsToHaveBeenCalledWith({
apisIntercepted: aliasNames,