From b8dd88dbef126af925eb1086c234c1048d28cb63 Mon Sep 17 00:00:00 2001 From: Katrin Yordanova Date: Fri, 8 Sep 2023 10:23:39 +0300 Subject: [PATCH] Add missinig cypress ids for admin and compose --- .../admin/src/components/Apigw/CFiltersStepper.vue | 1 + .../components/Authclient/CAuthclientEditorInfo.vue | 5 +++-- .../CTemplateEditorContent/EditorToolbox.vue | 13 +++++++++++-- client/web/compose/src/views/Admin/Pages/Edit.vue | 1 + client/web/compose/src/views/Namespace/List.vue | 1 + 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/client/web/admin/src/components/Apigw/CFiltersStepper.vue b/client/web/admin/src/components/Apigw/CFiltersStepper.vue index 635a3e106..4e84419c1 100644 --- a/client/web/admin/src/components/Apigw/CFiltersStepper.vue +++ b/client/web/admin/src/components/Apigw/CFiltersStepper.vue @@ -22,6 +22,7 @@
 curl -X POST {{ curlURL }} \
@@ -288,7 +289,7 @@ curl -X POST {{ curlURL }} \
 -u {{ resource.authClientID }}:{{ secret || 'PLACE-YOUR-CLIENT-SECRET-HERE' }}
                 
@@ -150,7 +150,16 @@ export default { openSection (sec) { this.$set(this.expandedSections, sec, !this.expandedSections[sec]) }, + copyToCb: copy, + + toolboxSectionLabelCypressId (section) { + return `button-${this.$t(section).toLowerCase()}` + }, + + toolboxOptionLabelCypressId (label) { + return label.toLowerCase().split(' ').join('-') + }, }, } diff --git a/client/web/compose/src/views/Admin/Pages/Edit.vue b/client/web/compose/src/views/Admin/Pages/Edit.vue index e203d7164..8126e02dd 100644 --- a/client/web/compose/src/views/Admin/Pages/Edit.vue +++ b/client/web/compose/src/views/Admin/Pages/Edit.vue @@ -13,6 +13,7 @@ class="mr-1" >

{{ $t('noResults') }}