From 28bea791ddfa798d7af13a264565c43fa78d7f17 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Thu, 12 Jan 2023 13:00:55 +0530 Subject: [PATCH] Added playwright tests for portal links refs https://github.com/TryGhost/Team/issues/2371 --- .../admin/app/components/gh-portal-links.hbs | 102 ++++++++++++--- .../app/components/modal-portal-settings.hbs | 3 +- .../e2e-browser/admin/portal-settings.spec.js | 119 ++++++++++++++++++ 3 files changed, 205 insertions(+), 19 deletions(-) create mode 100644 ghost/core/test/e2e-browser/admin/portal-settings.spec.js diff --git a/ghost/admin/app/components/gh-portal-links.hbs b/ghost/admin/app/components/gh-portal-links.hbs index 8bf1e4ea05..bf24928403 100644 --- a/ghost/admin/app/components/gh-portal-links.hbs +++ b/ghost/admin/app/components/gh-portal-links.hbs @@ -9,7 +9,12 @@

{{this.sectionHeaderLabel}}

- +
@@ -21,22 +26,27 @@ Default -
+
{{#if this.isLink}} {{else}} {{/if}} -