Skip to content

Commit

Permalink
fix E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAssassinator committed Nov 15, 2022
1 parent e61eae8 commit f03f8a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class SecurityPage extends NavBarPage implements NavBarItem {
@FindBy(css = ".tab-vertical > .n-menu-item:nth-child(9) > .n-menu-item-content")
private WebElement menuNamespaceManage;

@FindBy(css = ".tab-vertical > .n-menu-item:nth-child(10) > .n-menu-item-content")
@FindBy(css = ".tab-vertical > .n-menu-item:nth-child(11) > .n-menu-item-content")
private WebElement menuTokenManage;

public SecurityPage(RemoteWebDriver driver) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ private TaskResponse runOnSSH(String commandFilePath) {
// because JSch .chmod is not stable, so use the 'chmod -R' instead
logger.info("update remote path's permission:{} on session:{} to 755", taskRequest.getExecutePath(),
sessionHost);
String chmodCommand = "chmod -R 755 " + taskRequest.getExecutePath();
String chmodCommand = "chmod -R 700 " + taskRequest.getExecutePath();
sessionHolder.execCommand(chmodCommand, getRemainTime(), logger);

// all ssh task process id equals -1
Expand Down

0 comments on commit f03f8a1

Please sign in to comment.