From d5ee39ff202ef9eab8b71799dc3f27d9f0d788cd Mon Sep 17 00:00:00 2001 From: Christopher Lepski <139237321+clepski@users.noreply.github.com> Date: Wed, 28 May 2025 16:56:44 +0200 Subject: [PATCH 01/18] chore: Raise compas-open-scd version to 0.38.0.5 Signed-off-by: Christopher Lepski <139237321+clepski@users.noreply.github.com> Signed-off-by: Christopher Lepski --- compas/docker-compose-postgresql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compas/docker-compose-postgresql.yml b/compas/docker-compose-postgresql.yml index 90beb72..9ef7b61 100644 --- a/compas/docker-compose-postgresql.yml +++ b/compas/docker-compose-postgresql.yml @@ -151,7 +151,7 @@ services: open-scd: labels: compas: true - image: "lfenergy/compas-open-scd:v0.38.0.4" + image: "lfenergy/compas-open-scd:v0.38.0.5" depends_on: - scl-data-service - cim-mapping From c0a637288618ef7c3b1834252c4dbe1728dfe9ad Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Mon, 2 Jun 2025 11:16:10 +0200 Subject: [PATCH 02/18] chore: Workaround for lua install Signed-off-by: Christopher Lepski --- compas/reverse-proxy/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compas/reverse-proxy/Dockerfile b/compas/reverse-proxy/Dockerfile index abc83aa..f211d99 100644 --- a/compas/reverse-proxy/Dockerfile +++ b/compas/reverse-proxy/Dockerfile @@ -20,7 +20,7 @@ RUN apk add --no-cache openssl-dev RUN apk add --no-cache git RUN apk add --no-cache gcc -RUN luarocks install lua-resty-openidc +RUN luarocks install lua-resty-openidc --only-server https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/daab2726276e3282dc347b89a42a5107c3500567 RUN mkdir -p /etc/nginx/include From a15886bf155008636e57aada698177dc0f6d25c0 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Mon, 2 Jun 2025 11:17:22 +0200 Subject: [PATCH 03/18] test: Try to fix menu selector Signed-off-by: Christopher Lepski --- integration-testing/include/general-openscd.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-testing/include/general-openscd.robot b/integration-testing/include/general-openscd.robot index 67afd23..f5d5e6e 100644 --- a/integration-testing/include/general-openscd.robot +++ b/integration-testing/include/general-openscd.robot @@ -44,7 +44,7 @@ Check Browser Title Open Menu [Arguments] ${menuItemTitle} Click ${menu-button} > button - Click ${menu-selector} mwc-list > mwc-list-item >> span:text-is("${menuItemTitle}") + Click ${menu-selector} mwc-list > mwc-list-item > span:text-is("${menuItemTitle}") Open Navigation Menu [Arguments] ${menuItemTitle} From 38bf99a1c3f1a828759e27a7dd5d6e365ebcb6d9 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Mon, 2 Jun 2025 12:08:31 +0200 Subject: [PATCH 04/18] Revert "test: Try to fix menu selector" This reverts commit 0249a39f4e23a048bfe01044e96a6ef5f24f1eec. Signed-off-by: Christopher Lepski --- integration-testing/include/general-openscd.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-testing/include/general-openscd.robot b/integration-testing/include/general-openscd.robot index f5d5e6e..67afd23 100644 --- a/integration-testing/include/general-openscd.robot +++ b/integration-testing/include/general-openscd.robot @@ -44,7 +44,7 @@ Check Browser Title Open Menu [Arguments] ${menuItemTitle} Click ${menu-button} > button - Click ${menu-selector} mwc-list > mwc-list-item > span:text-is("${menuItemTitle}") + Click ${menu-selector} mwc-list > mwc-list-item >> span:text-is("${menuItemTitle}") Open Navigation Menu [Arguments] ${menuItemTitle} From 9e64bd67b158f7232370bb867670102691da78c1 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Mon, 2 Jun 2025 14:06:40 +0200 Subject: [PATCH 05/18] test: Add menu content to dialog selector Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index b5f18ad..a7c34fd 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -26,12 +26,12 @@ Open from CoMPAS Add to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} # Make sure the initial value is entered. so we can continue. - Get Text mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue} - Fill Text mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date} - Click mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select - Click mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"] - Add label mwc-dialog#compas-save-dlg > compas-save ${type}_${current-date} - Click mwc-dialog#compas-save-dlg > mwc-button[slot="primaryAction"] > button + Get Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue} + Fill Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date} + Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select + Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"] + Add label div#menuContent mwc-dialog#compas-save-dlg > compas-save ${type}_${current-date} + Click div#menuContent mwc-dialog#compas-save-dlg > mwc-button[slot="primaryAction"] > button Wait for dialog is closed Close Menu # check if the title (filename) changed to the new expected one. From 63e7cae403447b724e1c108754534b068051ebd8 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 13:44:14 +0200 Subject: [PATCH 06/18] test: Add delay before writing to input Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index a7c34fd..9a470a6 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -27,6 +27,7 @@ Add to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} # Make sure the initial value is entered. so we can continue. Get Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue} + Sleep 1s test Fill Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date} Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"] From f660f356b4a7ae48204a7c465879f024497a4641 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 13:55:19 +0200 Subject: [PATCH 07/18] test: Comment out sleep Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index 9a470a6..360dcf9 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -27,7 +27,7 @@ Add to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} # Make sure the initial value is entered. so we can continue. Get Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue} - Sleep 1s test + # Sleep 1s test Fill Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date} Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"] From 4030e37251000b22963c70337cbfb164dacc46bc Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 14:07:44 +0200 Subject: [PATCH 08/18] test: Add wait for compas save dialog step Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index 360dcf9..1c79eeb 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -7,6 +7,9 @@ Documentation Generic variables and Keywords to work with the OpenSCD CoMPAS C Resource ./general-config.robot Resource ./general-openscd.robot +*** Variables *** +${compas-save-dialog-selector} div#menuContent mwc-dialog#compas-save-dlg + *** Keywords *** Initialize and Start OpenSCD Set global variables @@ -26,6 +29,7 @@ Open from CoMPAS Add to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} # Make sure the initial value is entered. so we can continue. + Wait for compas save dialog Get Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue} # Sleep 1s test Fill Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date} @@ -102,3 +106,6 @@ Select label Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog mwc-formfield > mwc-checkbox Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-check-list-item[value="${label}"] Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog > mwc-button[slot="primaryAction"] > button + +Wait for compas save dialog + Wait Until Element Is Visible ${compas-save-dialog-selector} From d46607520aa8da5f2f539e0539a1e627517de223 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 14:14:13 +0200 Subject: [PATCH 09/18] test: Try to fix wait for dialog Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index 1c79eeb..6912f90 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -30,13 +30,13 @@ Add to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} # Make sure the initial value is entered. so we can continue. Wait for compas save dialog - Get Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue} + Get Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input == ${initialValue} # Sleep 1s test - Fill Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date} - Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select - Click div#menuContent mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"] - Add label div#menuContent mwc-dialog#compas-save-dlg > compas-save ${type}_${current-date} - Click div#menuContent mwc-dialog#compas-save-dlg > mwc-button[slot="primaryAction"] > button + Fill Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input ${name}-${current-date} + Click ${compas-save-dialog-selector} > compas-save compas-scltype-select mwc-select + Click ${compas-save-dialog-selector} > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"] + Add label ${compas-save-dialog-selector} > compas-save ${type}_${current-date} + Click ${compas-save-dialog-selector} > mwc-button[slot="primaryAction"] > button Wait for dialog is closed Close Menu # check if the title (filename) changed to the new expected one. @@ -108,4 +108,4 @@ Select label Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog > mwc-button[slot="primaryAction"] > button Wait for compas save dialog - Wait Until Element Is Visible ${compas-save-dialog-selector} + Wait For Elements State ${compas-save-dialog-selector} visible From dc55141749191166e1d5e4ce5463196672ec9475 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 14:24:34 +0200 Subject: [PATCH 10/18] test: Adjust selector Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index 6912f90..dc98686 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -8,7 +8,7 @@ Resource ./general-config.robot Resource ./general-openscd.robot *** Variables *** -${compas-save-dialog-selector} div#menuContent mwc-dialog#compas-save-dlg +${compas-save-dialog-selector} mwc-dialog#compas-save-dlg *** Keywords *** Initialize and Start OpenSCD From 25b9cdf37a8ab0303bb8bb3770929509aa1c9b00 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 14:39:50 +0200 Subject: [PATCH 11/18] test: Adjust dialog open condition Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index dc98686..a6943fe 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -108,4 +108,4 @@ Select label Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog > mwc-button[slot="primaryAction"] > button Wait for compas save dialog - Wait For Elements State ${compas-save-dialog-selector} visible + Wait For Elements State ${compas-save-dialog-selector} open From d9ae71ce249b8af20411ddfd8fc0e1ad9f1e2fcc Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 14:47:58 +0200 Subject: [PATCH 12/18] test: undo change Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index a6943fe..dc98686 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -108,4 +108,4 @@ Select label Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog > mwc-button[slot="primaryAction"] > button Wait for compas save dialog - Wait For Elements State ${compas-save-dialog-selector} open + Wait For Elements State ${compas-save-dialog-selector} visible From f63ba2a0dcc85f2e46b2d76f03ea3c3810e0eff2 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 14:57:58 +0200 Subject: [PATCH 13/18] test: Try another selector Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index dc98686..b1d9176 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -108,4 +108,5 @@ Select label Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog > mwc-button[slot="primaryAction"] > button Wait for compas save dialog - Wait For Elements State ${compas-save-dialog-selector} visible + Wait Until Page Contains Element ${compas-save-dialog-selector}[open] + # Wait For Elements State ${compas-save-dialog-selector} visible From 6b0f74265fa35d1753a0f610b800950249c28be0 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 15:06:07 +0200 Subject: [PATCH 14/18] test: Another attempt Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index b1d9176..02fe2b9 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -29,9 +29,9 @@ Open from CoMPAS Add to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} # Make sure the initial value is entered. so we can continue. - Wait for compas save dialog + # Wait for compas save dialog + Sleep 1s Wait for dialog to be open Get Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input == ${initialValue} - # Sleep 1s test Fill Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input ${name}-${current-date} Click ${compas-save-dialog-selector} > compas-save compas-scltype-select mwc-select Click ${compas-save-dialog-selector} > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"] From 6696e3b396f8c3a2f937cceef12cf38715e31114 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 15:26:04 +0200 Subject: [PATCH 15/18] test: Lower wait time Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index 02fe2b9..3c54b40 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -28,9 +28,9 @@ Open from CoMPAS Add to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} + # Wait for compas save dialog to open + Sleep 0.5s Wait for dialog to be open # Make sure the initial value is entered. so we can continue. - # Wait for compas save dialog - Sleep 1s Wait for dialog to be open Get Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input == ${initialValue} Fill Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input ${name}-${current-date} Click ${compas-save-dialog-selector} > compas-save compas-scltype-select mwc-select From 5869be1ac818bfff94afc2cabee318ac910affa2 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 15:29:46 +0200 Subject: [PATCH 16/18] test: Add wait time to save-as Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index 3c54b40..f660934 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -44,6 +44,8 @@ Add to CoMPAS Save as to CoMPAS [Arguments] ${initialValue} ${name} ${type} ${expectedVersion} + # Wait for compas save dialog to open + Sleep 0.5s Wait for dialog to be open # Make sure the initial value is entered. so we can continue. Get Text mwc-dialog#compas-save-as-dlg > compas-save mwc-textfield#name label > input == ${initialValue} Fill Text mwc-dialog#compas-save-as-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date} From 3bf6af948e65891bc45262a93c2313a9d9747d86 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 15:40:09 +0200 Subject: [PATCH 17/18] chore: Clean up code Signed-off-by: Christopher Lepski --- compas/reverse-proxy/Dockerfile | 3 +++ integration-testing/include/general-compas.robot | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/compas/reverse-proxy/Dockerfile b/compas/reverse-proxy/Dockerfile index f211d99..c3c23ab 100644 --- a/compas/reverse-proxy/Dockerfile +++ b/compas/reverse-proxy/Dockerfile @@ -20,6 +20,9 @@ RUN apk add --no-cache openssl-dev RUN apk add --no-cache git RUN apk add --no-cache gcc +# We are using fixed version of the lua repository, because the current version is too large and throws an exception during install, +# see issue https://github.com/luarocks/luarocks/issues/1797 +# Once the issue is fixed we should remove --only-server ... workaround RUN luarocks install lua-resty-openidc --only-server https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/daab2726276e3282dc347b89a42a5107c3500567 RUN mkdir -p /etc/nginx/include diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index f660934..1b0e016 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -108,7 +108,3 @@ Select label Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog mwc-formfield > mwc-checkbox Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-check-list-item[value="${label}"] Click ${dialog} compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog > mwc-button[slot="primaryAction"] > button - -Wait for compas save dialog - Wait Until Page Contains Element ${compas-save-dialog-selector}[open] - # Wait For Elements State ${compas-save-dialog-selector} visible From 70bb4ad043ca87cdea3f2ac26094a38502c2db98 Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Thu, 5 Jun 2025 15:55:07 +0200 Subject: [PATCH 18/18] test: Fix Update in compas Signed-off-by: Christopher Lepski --- integration-testing/include/general-compas.robot | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/integration-testing/include/general-compas.robot b/integration-testing/include/general-compas.robot index 1b0e016..1ef43b0 100644 --- a/integration-testing/include/general-compas.robot +++ b/integration-testing/include/general-compas.robot @@ -60,9 +60,11 @@ Save as to CoMPAS Update in CoMPAS [Arguments] ${changeType} ${name} ${type} ${expectedVersion} - Click mwc-dialog#compas-save-dlg > compas-save compas-changeset-radiogroup mwc-list > mwc-radio-list-item[value="${changeType.upper()}"] - Add label mwc-dialog#compas-save-dlg > compas-save ${type}_${current-date}_${expectedVersion.replace('.', '')} - Click mwc-dialog#compas-save-dlg > mwc-button[slot="primaryAction"] > button + # Wait for compas save dialog to open + Sleep 0.5s Wait for dialog to be open + Click ${compas-save-dialog-selector} > compas-save compas-changeset-radiogroup mwc-list > mwc-radio-list-item[value="${changeType.upper()}"] + Add label ${compas-save-dialog-selector} > compas-save ${type}_${current-date}_${expectedVersion.replace('.', '')} + Click ${compas-save-dialog-selector} > mwc-button[slot="primaryAction"] > button Wait for dialog is closed Close Menu # check if the title (filename) changed to the new expected one.