From be0fb416366574791a80014d070ce5ef0418616f Mon Sep 17 00:00:00 2001 From: Sanne de Vries Date: Tue, 12 Jul 2022 13:38:43 +0100 Subject: [PATCH] Updated webhook actions to dotdotdot menu --- .../app/templates/settings/integration.hbs | 26 +++++++++++++++++-- .../acceptance/settings/integrations-test.js | 3 ++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/ghost/admin/app/templates/settings/integration.hbs b/ghost/admin/app/templates/settings/integration.hbs index 417656fa69..aa11981d94 100644 --- a/ghost/admin/app/templates/settings/integration.hbs +++ b/ghost/admin/app/templates/settings/integration.hbs @@ -195,14 +195,36 @@ {{webhook.targetUrl}} {{or webhook.lastTriggeredAtUTC "Not triggered"}} -
+ {{!--
{{svg-jar "pen" class="w6 h6 fill-midgrey pa1 mr1"}} -
+
--}} + + + + {{svg-jar "dotdotdot"}} + + + + + + + {{else}} diff --git a/ghost/admin/tests/acceptance/settings/integrations-test.js b/ghost/admin/tests/acceptance/settings/integrations-test.js index 0e133619ab..d41a373f1e 100644 --- a/ghost/admin/tests/acceptance/settings/integrations-test.js +++ b/ghost/admin/tests/acceptance/settings/integrations-test.js @@ -468,7 +468,8 @@ describe('Acceptance: Settings - Integrations - Custom', function () { .to.have.string('Not triggered'); // click edit webhook link - await click('[data-test-webhook-row="1"] [data-test-link="edit-webhook"]'); + await click('[data-test-webhook-row="1"] [data-test-newsletter-menu-trigger]'); + await click('[data-test-link="edit-webhook"]'); // modal appears and has correct title expect(find('[data-test-modal="webhook-form"]')).to.exist;