From 8270af97b8b9044051d944a07499b0f09d30d659 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Tue, 13 Sep 2022 19:39:41 +0530 Subject: [PATCH] test: active modal - class name mapping Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../components/dashboard/settings/Modal.vue | 1 + .../nc-gui/components/dlg/TableRename.vue | 1 + .../components/shared-view/AskPassword.vue | 1 + .../smartsheet-toolbar/ShareView.vue | 1 + .../[projectType]/form/[viewId]/index.vue | 1 + .../pages/index/index/create-external.vue | 1 + .../1d_pg_table_view_drag_drop_reorder.js | 2 +- .../common/1d_table_view_drag_drop_reorder.js | 2 +- .../2a_table_with_belongs_to_colulmn.js | 12 +++---- .../common/2b_table_with_m2m_column.js | 10 +++--- .../common/4a_table_view_grid_gallery_form.js | 4 +-- .../integration/common/4b_table_view_share.js | 32 +++++++++---------- .../common/4c_form_view_detailed.js | 4 +-- .../integration/common/4e_form_view_share.js | 6 ++-- .../integration/common/4f_grid_view_share.js | 8 ++--- .../common/4f_pg_grid_view_share.js | 6 ++-- .../integration/common/6f_attachments.js | 4 +-- .../integration/common/6g_base_share.js | 2 +- .../common/7b_import_from_airtable.js | 6 ++-- scripts/cypress/support/commands.js | 4 +-- .../cypress/support/page_objects/mainPage.js | 4 +-- 21 files changed, 59 insertions(+), 53 deletions(-) diff --git a/packages/nc-gui/components/dashboard/settings/Modal.vue b/packages/nc-gui/components/dashboard/settings/Modal.vue index cc6788f60e..655a4cf1ba 100644 --- a/packages/nc-gui/components/dashboard/settings/Modal.vue +++ b/packages/nc-gui/components/dashboard/settings/Modal.vue @@ -159,6 +159,7 @@ watch( :footer="null" width="max(90vw, 600px)" :closable="false" + wrap-class-name="nc-modal-settings" @cancel="emits('update:modelValue', false)" > diff --git a/packages/nc-gui/components/dlg/TableRename.vue b/packages/nc-gui/components/dlg/TableRename.vue index 5652ec1293..8398f319b9 100644 --- a/packages/nc-gui/components/dlg/TableRename.vue +++ b/packages/nc-gui/components/dlg/TableRename.vue @@ -125,6 +125,7 @@ const renameTable = async () => { v-model:visible="dialogShow" :title="$t('activity.renameTable')" :mask-closable="false" + wrap-class-name="nc-modal-table-rename" @keydown.esc="dialogShow = false" @finish="renameTable" > diff --git a/packages/nc-gui/components/shared-view/AskPassword.vue b/packages/nc-gui/components/shared-view/AskPassword.vue index 83f0481245..a12e00a433 100644 --- a/packages/nc-gui/components/shared-view/AskPassword.vue +++ b/packages/nc-gui/components/shared-view/AskPassword.vue @@ -33,6 +33,7 @@ const onFinish = async () => { centered :footer="null" :mask-closable="false" + wrap-class-name="nc-modal-shared-view-password-dlg" @close="vModel = false" >
diff --git a/packages/nc-gui/components/smartsheet-toolbar/ShareView.vue b/packages/nc-gui/components/smartsheet-toolbar/ShareView.vue index a2a555f9b9..8d44e32bdc 100644 --- a/packages/nc-gui/components/smartsheet-toolbar/ShareView.vue +++ b/packages/nc-gui/components/smartsheet-toolbar/ShareView.vue @@ -132,6 +132,7 @@ watch(passwordProtected, (value) => { :title="$t('msg.info.privateLink')" :footer="null" width="min(100vw,640px)" + wrap-class-name="nc-modal-share-view" >