Skip to content

Commit

Permalink
LPS-132764 Replace the explicit pause
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang Cao committed May 25, 2021
1 parent 899d8a7 commit d9e8c10
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Expand Up @@ -227,7 +227,7 @@ definition {

AssetCategorization.gotoSelectCategory();

Pause(locator1 = "3000");
AssertVisible(locator1 = "Treeview#NODE_COLLAPSE_BUTTON");

Portlet.selectTreeNode(nodeName = "${categoryName}");

Expand Down
Expand Up @@ -62,7 +62,7 @@ definition {
macro gotoSelectCategory {
IFrame.selectCategoryFrame();

Pause(locator1 = "3000");
AssertVisible(locator1 = "Treeview#NODE_COLLAPSE_BUTTON");

Portlet.expandTree();
}
Expand All @@ -82,7 +82,9 @@ definition {
macro selectCategory {
AssetCategorization.gotoSelectCategory();

Pause(locator1 = "3000");
AssertVisible(
key_nodeName = "${categoryName}",
locator1 = "Treeview#NODE_ITEM");

Portlet.selectTreeNode(nodeName = "${categoryName}");

Expand Down
Expand Up @@ -37,7 +37,9 @@ definition {
else if ("${assetType}" == "Category") {
Portlet.expandTree();

Pause(locator1 = "3000");
AssertVisible(
key_nodeName = "${assetTitle}",
locator1 = "Treeview#NODE_ITEM");

Click(
key_nodeName = "${assetTitle}",
Expand Down

0 comments on commit d9e8c10

Please sign in to comment.