Skip to content

Commit

Permalink
Revert "revert e72671f"
Browse files Browse the repository at this point in the history
This reverts commit cc989ab.
t publish
  • Loading branch information
v1v committed May 25, 2020
1 parent c3a465b commit 53f7ad6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@
import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps';
import { loginAndWaitForPage } from '../../integration/helpers';

/** The default time in ms to wait for a Cypress command to complete */
export const DEFAULT_TIMEOUT = 60 * 1000;

Given(`a user browses the APM UI application`, () => {
// open service overview page
loginAndWaitForPage(`/app/apm#/services`);
});

When(`the user inspects the opbeans-node service`, () => {
// click opbeans-node service
cy.get(':contains(opbeans-node)').last().click({ force: true });
cy.get(':contains(opbeans-node)', { timeout: DEFAULT_TIMEOUT }).last().click({ force: true });
});

Then(`should redirect to correct path with correct params`, () => {
Expand Down

0 comments on commit 53f7ad6

Please sign in to comment.