Skip to content

Commit

Permalink
fix last cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelolo24 committed Nov 22, 2024
1 parent c87d094 commit 99ac2ff
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,13 @@ describe('Agent configuration', () => {
cy.contains('Create configuration').should('not.be.disabled');
});

it.skip('persists service environment when clicking on edit button', () => {
it.only('persists service environment when clicking on edit button', () => {
cy.intercept('GET', '/api/apm/settings/agent-configuration/environments?*').as(
'serviceEnvironmentApi'
);
cy.contains('Create configuration').click();
cy.getByTestSubj('serviceNameComboBox').find('input').click();
cy.getByTestSubj('serviceNameComboBox').type('opbeans-node{enter}');
cy.getByTestSubj('comboBoxOptionsList serviceNameComboBox-optionsList').should('be.visible');

cy.contains('opbeans-node').click();
cy.wait('@serviceEnvironmentApi');

cy.getByTestSubj('serviceEnviromentComboBox').find('input').click();
Expand Down

0 comments on commit 99ac2ff

Please sign in to comment.