Browse Source
Merge pull request #8262 from Seraphym-Tuhai/fix-tests-menu-update
[3.5] Fixed UI tests after menu update
pull/8307/head
Andrew Shvayka
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ui/pages/CustomerPageHelper.java
-
msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ui/pages/SideBarMenuViewElements.java
|
|
|
@ -141,6 +141,7 @@ public class CustomerPageHelper extends CustomerPageElements { |
|
|
|
assignedField().click(); |
|
|
|
setDashboard(); |
|
|
|
listOfEntity().get(0).click(); |
|
|
|
assignedField().sendKeys(Keys.ESCAPE); |
|
|
|
submitAssignedBtn().click(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -27,7 +27,7 @@ public class SideBarMenuViewElements extends AbstractBasePage { |
|
|
|
private static final String RULE_CHAINS_BTN = "//mat-toolbar//a[@href='/ruleChains']"; |
|
|
|
private static final String CUSTOMER_BTN = "//mat-toolbar//a[@href='/customers']"; |
|
|
|
private static final String DASHBOARD_BTN = "//mat-toolbar//a[@href='/dashboards']"; |
|
|
|
private static final String PROFILES_BTN = "//mat-toolbar//a[@href='/profiles']"; |
|
|
|
private static final String PROFILES_BTN = "//mat-toolbar//mat-icon[text()='badge']/ancestor::tb-menu-toggle"; |
|
|
|
private static final String DEVICE_PROFILE_BTN = "//mat-toolbar//a[@href='/profiles/deviceProfiles']"; |
|
|
|
private static final String ASSET_PROFILE_BTN = "//mat-toolbar//a[@href='/profiles/assetProfiles']"; |
|
|
|
|
|
|
|
|