Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 6e4c402

Browse files
lgallgal
authored andcommitted
Merge remote-tracking branch 'origin/development' into 3416_SurvNet-nosocomial-outbreak
2 parents 5dc873b + 5581eba commit 6e4c402

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

sormas-e2e-ui-tests/Scripts/Contacts/NewContactViaContactsView/Script1586946842046.groovy

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ WebUI.click(findTestObject('Contacts/ContactsOverview/NewContact/span_Contacts l
6868

6969
WebUI.setText(findTestObject('Contacts/ContactsOverview/input_New contact_nameUuidCaseLike'), newContactLastName)
7070

71-
WebUI.click(findTestObject('Contacts/ContactsOverview/div_Show More Less Filters'))
71+
/*WebUI.click(findTestObject('Contacts/ContactsOverview/div_Show More Less Filters'))
7272
73-
WebUI.click(findTestObject('ReusableORs/Filters/span_Include contacts from other jurisdictions'))
73+
WebUI.click(findTestObject('ReusableORs/Filters/span_Include contacts from other jurisdictions'))*/
7474

7575
WebUI.click(findTestObject('Contacts/ContactsOverview/div_Apply filters'))
7676

@@ -79,9 +79,18 @@ WebUI.delay(1)
7979
int numberOfRows = Table.getNumberOfTableRows()
8080

8181
if (numberOfRows != 1) {
82+
WebUI.click(findTestObject('Contacts/ContactsOverview/div_Show More Less Filters'))
83+
84+
WebUI.click(findTestObject('ReusableORs/Filters/span_Include contacts from other jurisdictions'))
85+
86+
WebUI.click(findTestObject('Contacts/ContactsOverview/div_Apply filters'))
87+
int numberOfUpdatedRows = Table.getNumberOfTableRows()
88+
89+
if (numberOfUpdatedRows != 1){
8290
WebUI.closeBrowser()
8391
throw new StepFailedException('Expected one contact: ' + numberOfRows)
8492
}
93+
}
8594

8695
WebUI.closeBrowser()
8796

sormas-e2e-ui-tests/Scripts/Login/partials/LoginActions/Script1585642814653.groovy

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
55
import internal.GlobalVariable as GlobalVariable
66

77
// check if browser is already opened, if a testcase needs to change some profile properties it automatically would open a browser
8-
try {
8+
/*try {
99
WebUI.navigateToUrl(GlobalVariable.gUrl)
1010
} catch(BrowserNotOpenedException){
1111
WebUI.openBrowser('')
1212
WebUI.navigateToUrl(GlobalVariable.gUrl)
13-
}
13+
}*/
1414

15-
// WebUI.openBrowser(GlobalVariable.gUrl)
15+
WebUI.openBrowser('')
16+
WebUI.navigateToUrl(GlobalVariable.gUrl)
1617

1718
WebUI.setText(findTestObject('Login/input_username_username'), Username)
1819

sormas-e2e-ui-tests/settings/internal/com.kms.katalon.composer.testcase.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)