Skip to content

Commit 9c51c7a

Browse files
author
ci-bot
committed
fix button
1 parent b22bb85 commit 9c51c7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/remixdesktop/test/tests/app/git.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports = {
1010
'clone a repo': function (browser: NightwatchBrowser) {
1111
browser
1212
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
13-
.waitForElementVisible('button[data-id="landingPageImportFromGit"]')
14-
.click('button[data-id="landingPageImportFromGit"]')
13+
.waitForElementVisible('*[data-id="cloneFromGitButton"]')
14+
.click('*[data-id="cloneFromGitButton"]')
1515
.pause(1000)
1616
.waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]')
1717
.click('[data-id="fileSystemModalDialogModalBody-react"]')
@@ -22,8 +22,8 @@ module.exports = {
2222
.windowHandles(function (result) {
2323
console.log(result.value)
2424
browser.switchWindow(result.value[1])
25-
.waitForElementVisible('*[data-id="treeViewLitreeViewItem.git"]')
25+
.waitForElementVisible('*[data-id="treeViewLitreeViewItem.git"]')
2626
})
2727
.end()
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)