From 5e38dc59cd194cb893f145f7d7cf68df77b82009 Mon Sep 17 00:00:00 2001 From: sreehari jayaraj Date: Thu, 21 Sep 2023 12:16:24 +0530 Subject: [PATCH] fix(test): table to div on test --- packages/nc-gui/components/account/Token.vue | 53 +++++++++++-------- tests/playwright/pages/Account/Token.ts | 12 ++--- .../accountTokenManagement.spec.ts | 2 +- 3 files changed, 38 insertions(+), 29 deletions(-) diff --git a/packages/nc-gui/components/account/Token.vue b/packages/nc-gui/components/account/Token.vue index f3bfbc7e8a..ed4fbc7e11 100644 --- a/packages/nc-gui/components/account/Token.vue +++ b/packages/nc-gui/components/account/Token.vue @@ -148,58 +148,69 @@ const descriptionInput: VNodeRef = (el) => (el as HTMLInputElement)?.focus() Create personal API tokens to use in automation or external apps.
-
- Token name - Creator - Token - Actions +
+ Token name + Creator + Token + Actions
-
+
-
+
Cancel - Save + + Save +
-
- - +
+ + {{ el.description }} - + {{ el.created_by }} - - + + {{ el.token }} - **************************** + ********************************** - -
+ +
- +
@@ -207,7 +218,7 @@ const descriptionInput: VNodeRef = (el) => (el as HTMLInputElement)?.focus()
-
+
{ await unsetup(context); }); - test('Create and Delete token', async () => { + test.only('Create and Delete token', async () => { test.slow(); const parallelId = process.env.TEST_PARALLEL_INDEX ?? '0'; await accountTokenPage.goto();