Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Oct 28, 2020
1 parent 564f89e commit b7a6149
Show file tree
Hide file tree
Showing 3 changed files with 370 additions and 253 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/e2e/cypress/integration/snapshots.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
"__version": "4.9.0"
"__version": "5.5.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Then(`it displays top pages in the suggestion popover`, () => {
listOfUrls.should('have.length', 5);

const actualUrlsText = [
'http://opbeans-node:3000/dashboardTotal Page views: 17Page load duration: 109 ms (median)',
'http://opbeans-node:3000/ordersTotal Page views: 14Page load duration: 72 ms (median)',
'http://opbeans-node:3000/dashboardTotal page views: 17Page load duration: 109 ms (median)',
'http://opbeans-node:3000/ordersTotal page views: 14Page load duration: 72 ms (median)',
];

cy.get('li.euiSelectableListItem')
Expand Down Expand Up @@ -55,7 +55,7 @@ Then(`it should filter results based on query`, () => {
listOfUrls.should('have.length', 1);

const actualUrlsText = [
'http://opbeans-node:3000/customersTotal Page views: 10Page load duration: 76 ms (median)',
'http://opbeans-node:3000/customersTotal page views: 10Page load duration: 76 ms (median)',
];

cy.get('li.euiSelectableListItem')
Expand Down
Loading

0 comments on commit b7a6149

Please sign in to comment.