Skip to content

Commit 7ab60f8

Browse files
authored
Merge pull request #210 from com-pas/chore/raise-compas-open-scd-version-to-0.38.0.5
chore: Raise compas-open-scd version to 0.38.0.5
2 parents 123629a + 70bb4ad commit 7ab60f8

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

compas/docker-compose-postgresql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ services:
151151
open-scd:
152152
labels:
153153
compas: true
154-
image: "lfenergy/compas-open-scd:v0.38.0.4"
154+
image: "lfenergy/compas-open-scd:v0.38.0.5"
155155
depends_on:
156156
- scl-data-service
157157
- cim-mapping

compas/reverse-proxy/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ RUN apk add --no-cache openssl-dev
2020
RUN apk add --no-cache git
2121
RUN apk add --no-cache gcc
2222

23-
RUN luarocks install lua-resty-openidc
23+
# We are using fixed version of the lua repository, because the current version is too large and throws an exception during install,
24+
# see issue https://github.com/luarocks/luarocks/issues/1797
25+
# Once the issue is fixed we should remove --only-server ... workaround
26+
RUN luarocks install lua-resty-openidc --only-server https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/daab2726276e3282dc347b89a42a5107c3500567
2427

2528
RUN mkdir -p /etc/nginx/include
2629

integration-testing/include/general-compas.robot

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Documentation Generic variables and Keywords to work with the OpenSCD CoMPAS C
77
Resource ./general-config.robot
88
Resource ./general-openscd.robot
99

10+
*** Variables ***
11+
${compas-save-dialog-selector} mwc-dialog#compas-save-dlg
12+
1013
*** Keywords ***
1114
Initialize and Start OpenSCD
1215
Set global variables
@@ -25,20 +28,24 @@ Open from CoMPAS
2528

2629
Add to CoMPAS
2730
[Arguments] ${initialValue} ${name} ${type} ${expectedVersion}
31+
# Wait for compas save dialog to open
32+
Sleep 0.5s Wait for dialog to be open
2833
# Make sure the initial value is entered. so we can continue.
29-
Get Text mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue}
30-
Fill Text mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date}
31-
Click mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select
32-
Click mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"]
33-
Add label mwc-dialog#compas-save-dlg > compas-save ${type}_${current-date}
34-
Click mwc-dialog#compas-save-dlg > mwc-button[slot="primaryAction"] > button
34+
Get Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input == ${initialValue}
35+
Fill Text ${compas-save-dialog-selector} > compas-save mwc-textfield#name label > input ${name}-${current-date}
36+
Click ${compas-save-dialog-selector} > compas-save compas-scltype-select mwc-select
37+
Click ${compas-save-dialog-selector} > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${type.upper()}"]
38+
Add label ${compas-save-dialog-selector} > compas-save ${type}_${current-date}
39+
Click ${compas-save-dialog-selector} > mwc-button[slot="primaryAction"] > button
3540
Wait for dialog is closed
3641
Close Menu
3742
# check if the title (filename) changed to the new expected one.
3843
Check Title Filename ${name}-${current-date}-${expectedVersion} ${type}
3944

4045
Save as to CoMPAS
4146
[Arguments] ${initialValue} ${name} ${type} ${expectedVersion}
47+
# Wait for compas save dialog to open
48+
Sleep 0.5s Wait for dialog to be open
4249
# Make sure the initial value is entered. so we can continue.
4350
Get Text mwc-dialog#compas-save-as-dlg > compas-save mwc-textfield#name label > input == ${initialValue}
4451
Fill Text mwc-dialog#compas-save-as-dlg > compas-save mwc-textfield#name label > input ${name}-${current-date}
@@ -53,9 +60,11 @@ Save as to CoMPAS
5360

5461
Update in CoMPAS
5562
[Arguments] ${changeType} ${name} ${type} ${expectedVersion}
56-
Click mwc-dialog#compas-save-dlg > compas-save compas-changeset-radiogroup mwc-list > mwc-radio-list-item[value="${changeType.upper()}"]
57-
Add label mwc-dialog#compas-save-dlg > compas-save ${type}_${current-date}_${expectedVersion.replace('.', '')}
58-
Click mwc-dialog#compas-save-dlg > mwc-button[slot="primaryAction"] > button
63+
# Wait for compas save dialog to open
64+
Sleep 0.5s Wait for dialog to be open
65+
Click ${compas-save-dialog-selector} > compas-save compas-changeset-radiogroup mwc-list > mwc-radio-list-item[value="${changeType.upper()}"]
66+
Add label ${compas-save-dialog-selector} > compas-save ${type}_${current-date}_${expectedVersion.replace('.', '')}
67+
Click ${compas-save-dialog-selector} > mwc-button[slot="primaryAction"] > button
5968
Wait for dialog is closed
6069
Close Menu
6170
# check if the title (filename) changed to the new expected one.

0 commit comments

Comments
 (0)