Skip to content

Commit bca00d1

Browse files
author
Dennis Labordus
committed
Latest version updated and fixed tests.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent c360fb2 commit bca00d1

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

compas/docker-compose-basex.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
scl-data-service:
4040
labels:
4141
compas: true
42-
image: "lfenergy/compas-scl-data-service:0.10.0-basex"
42+
image: "lfenergy/compas-scl-data-service:0.11.0-basex"
4343
ports:
4444
- "9090:8080"
4545
environment:
@@ -144,7 +144,7 @@ services:
144144
open-scd:
145145
labels:
146146
compas: true
147-
image: "lfenergy/compas-open-scd:v0.24.0.1"
147+
image: "lfenergy/compas-open-scd:v0.24.0.2"
148148
healthcheck:
149149
test: ["CMD", "curl", "-f", "http://localhost/"]
150150
interval: 30s

compas/docker-compose-postgresql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ services:
4646
scl-data-service:
4747
labels:
4848
compas: true
49-
image: "lfenergy/compas-scl-data-service:0.10.0-postgresql"
49+
image: "lfenergy/compas-scl-data-service:0.11.0-postgresql"
5050
ports:
5151
- "9090:8080"
5252
environment:
@@ -151,7 +151,7 @@ services:
151151
open-scd:
152152
labels:
153153
compas: true
154-
image: "lfenergy/compas-open-scd:v0.24.0.1"
154+
image: "lfenergy/compas-open-scd:v0.24.0.2"
155155
healthcheck:
156156
test: ["CMD", "curl", "-f", "http://localhost/"]
157157
interval: 30s

integration-testing/TestSuite002-versions-compas.robot

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ TestCase002-30
164164
# Next select the first version from the list and compare this to the current open edited version.
165165
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(1) mwc-checkbox
166166
Click ${compas-versions-editor-selector} mwc-fab[label="Compare version (current)"] > button
167-
Get Text ${dialog-selector} \#wizard-content > mwc-list > mwc-list-item:nth-child(3) >> text=Substation
167+
Get Text ${dialog-selector} div\#wizard-content mwc-list > mwc-list-item > span:has-text("Substation")
168168
Click ${dialog-selector} mwc-button[slot="secondaryAction"] > button
169169
Wait for dialog is closed
170170

@@ -175,15 +175,15 @@ TestCase002-31
175175
Select Tab CoMPAS Versions
176176
# Now select no versions and try to compare, should show a error dialog.
177177
Click ${compas-versions-editor-selector} mwc-fab[label="Compare version (current)"] > button
178-
Get Text ${dialog-selector} \#wizard-content:has-text("Select maximum one version to compare the current project against.")
178+
Get Text ${dialog-selector} div\#wizard-content > span:has-text("Select maximum one version to compare the current project against.")
179179
Click ${dialog-selector} mwc-button[slot="secondaryAction"] > button
180180
Wait for dialog is closed
181181

182182
# Now select two versions and try to compare, should show a error dialog.
183183
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(1) mwc-checkbox
184184
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(2) mwc-checkbox
185185
Click ${compas-versions-editor-selector} mwc-fab[label="Compare version (current)"] > button
186-
Get Text ${dialog-selector} \#wizard-content:has-text("Select maximum one version to compare the current project against.")
186+
Get Text ${dialog-selector} div\#wizard-content > span:has-text("Select maximum one version to compare the current project against.")
187187
Click ${dialog-selector} mwc-button[slot="secondaryAction"] > button
188188
Wait for dialog is closed
189189

@@ -200,7 +200,7 @@ TestCase002-32
200200
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(1) mwc-checkbox
201201
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(2) mwc-checkbox
202202
Click ${compas-versions-editor-selector} mwc-fab[label="Compare versions"] > button
203-
Get Text ${dialog-selector} \#wizard-content > mwc-list:nth-child(1) > mwc-list-item:nth-child(3) >> text=Substation
203+
Get Text ${dialog-selector} div\#wizard-content mwc-list > mwc-list-item > span:has-text("Substation")
204204
Click ${dialog-selector} mwc-button[slot="secondaryAction"] > button
205205
Wait for dialog is closed
206206

@@ -221,14 +221,14 @@ TestCase002-33
221221
# Now select one versions and try to compare, should show a error dialog.
222222
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(1) mwc-checkbox
223223
Click ${compas-versions-editor-selector} mwc-fab[label="Compare versions"] > button
224-
Get Text ${dialog-selector} \#wizard-content:has-text("Select maximum two versions to compare with each other.")
224+
Get Text ${dialog-selector} div#wizard-content > span:has-text("Select maximum two versions to compare with each other.")
225225
Click ${dialog-selector} mwc-button[slot="secondaryAction"] > button
226226
Wait for dialog is closed
227227

228228
# Now select three versions (first is already selected) and try to compare, should show a error dialog.
229229
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(2) mwc-checkbox
230230
Click ${compas-versions-editor-selector} mwc-list > mwc-check-list-item:nth-child(3) mwc-checkbox
231231
Click ${compas-versions-editor-selector} mwc-fab[label="Compare versions"] > button
232-
Get Text ${dialog-selector} \#wizard-content:has-text("Select maximum two versions to compare with each other.")
232+
Get Text ${dialog-selector} div#wizard-content > span:has-text("Select maximum two versions to compare with each other.")
233233
Click ${dialog-selector} mwc-button[slot="secondaryAction"] > button
234234
Wait for dialog is closed

0 commit comments

Comments
 (0)