Skip to content

Commit

Permalink
HPCC-31857 - Modified code to test an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Nisha-Bagdwal committed Jul 17, 2024
1 parent 1e10797 commit ec20e25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion esp/src/test-ui/tests/framework/SetupForDev.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This documentation provides a comprehensive guide to setting up an Ubuntu VM on

4. **Check if the installation is successful:**
```sh
sudo /etc/init.d/hpcc-init status
sudo dpkg -l | grep 'hpccsystems-pl'
```
5. **Start HPCC-Platform:**
```sh
Expand Down
7 changes: 4 additions & 3 deletions esp/src/test-ui/tests/framework/pages/BaseTableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,6 @@ private void testTheSortingOrderForOneColumn(String columnKey, String columnName

sortJsonUsingSortOrder(currentSortOrder, columnKey);

Common.sleep();

List<Object> columnDataFromJSON = getDataFromJSONUsingColumnKey(columnKey);
List<Object> columnDataIDFromUI = getDataFromUIUsingColumnKey(getUniqueKey());

Expand All @@ -351,9 +349,12 @@ private String getCurrentSortingOrder(String columnKey) {

String oldSortOrder = columnHeader.getAttribute("aria-sort");

//Common.waitForElementToBeClickable(columnHeader);
columnHeader.click();

if(columnKey.equals("Execution Cost")) {
columnHeader.click();
}

return waitToLoadChangedSortOrder(oldSortOrder, columnKey);

} catch (Exception ex) {
Expand Down

0 comments on commit ec20e25

Please sign in to comment.