Skip to content

Commit 79c3211

Browse files
author
Dennis Labordus
committed
Small changes to script.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 9676939 commit 79c3211

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

integration-testing/TestSuite002-versions-compas.robot

Lines changed: 5 additions & 5 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} div\#wizard-content mwc-list > mwc-list-item > span:has-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} div\#wizard-content > span: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} div\#wizard-content > span: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} div\#wizard-content mwc-list > mwc-list-item > span:has-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

@@ -214,7 +214,7 @@ TestCase002-33
214214
Select Tab CoMPAS Versions
215215
# Now select no versions and try to compare, should show a error dialog.
216216
Click ${compas-versions-editor-selector} mwc-fab[label="Compare versions"] > button
217-
Get Text ${dialog-selector} \#wizard-content:has-text("Select maximum two versions to compare with each other.")
217+
Get Text ${dialog-selector} div#wizard-content > span:has-text("Select maximum two versions to compare with each other.")
218218
Click ${dialog-selector} mwc-button[slot="secondaryAction"] > button
219219
Wait for dialog is closed
220220

0 commit comments

Comments
 (0)