From a8e30c3e83b52f60506f6dd2afc7a680bac386e5 Mon Sep 17 00:00:00 2001 From: Bonsai8863 <131906254+Bonsai8863@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:41:34 -0400 Subject: [PATCH] [frontend] Modified tests to use new Create Relationship button --- .../tests_e2e/model/intrusionSetDetails.pageModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencti-platform/opencti-front/tests_e2e/model/intrusionSetDetails.pageModel.ts b/opencti-platform/opencti-front/tests_e2e/model/intrusionSetDetails.pageModel.ts index 73c2111a83692..6d4db35a2a41a 100644 --- a/opencti-platform/opencti-front/tests_e2e/model/intrusionSetDetails.pageModel.ts +++ b/opencti-platform/opencti-front/tests_e2e/model/intrusionSetDetails.pageModel.ts @@ -20,6 +20,6 @@ export default class IntrusionSetDetailsPage { } getCreateRelationshipButton() { - return this.page.getByLabel('Add', { exact: true }); + return this.page.getByRole('button', { name: 'Create Relationship' }); } }