diff --git a/tests/configuration/pages/agentsPage.js b/tests/configuration/pages/agentsPage.js index 8d233eb23..15f1b9743 100644 --- a/tests/configuration/pages/agentsPage.js +++ b/tests/configuration/pages/agentsPage.js @@ -15,7 +15,7 @@ module.exports = { pagination: paginationPart, async open(serviceId) { - I.amOnPage(`graph/inventory/services/${serviceId.split('/')[2]}/agents`); + I.amOnPage(`graph/inventory/services/${serviceId}/agents`); await I.waitForVisible(this.fields.backLink, 30); },