mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[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:
parent
81161c26ac
commit
0c96914837
1 changed files with 7 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue