Skip to content

Commit

Permalink
modified metalake link selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3yne committed Mar 20, 2024
1 parent 49428f7 commit 90004f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void clickEditMetalakeBtn(String name) {

public void clickMetalakeLink(String name) {
try {
String xpath = "//a[@href='/ui/metalakes?metalake=" + name + "']";
String xpath = "//a[@data-refer='metalake-link-" + name + "']";
clickAndWait(By.xpath(xpath));
} catch (Exception e) {
LOG.error(e.getMessage(), e);
Expand Down
1 change: 1 addition & 0 deletions web/src/app/metalakes/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const TableBody = props => {
textOverflow: 'ellipsis',
'&:hover': { color: 'primary.main', textDecoration: 'underline' }
}}
data-refer={`metalake-link-${name}`}
>
{name}
</Typography>
Expand Down

0 comments on commit 90004f1

Please sign in to comment.