pull/4791/head
Your Name 6 months ago
parent e940a616c6
commit 7c9dff36c9
  1. 17
      apps/remix-ide-e2e/src/tests/workspace_git.test.ts

@ -445,10 +445,17 @@ module.exports = {
}, },
'check source controle panel again #group5': function (browser: NightwatchBrowser) { 'check source controle panel again #group5': function (browser: NightwatchBrowser) {
browser browser
.pause(5000) .pause(1000)
.clickLaunchIcon('dgit') .clickLaunchIcon('dgit')
.waitForElementVisible('*[data-id="initgit-btn"]') .waitForElementVisible({
.click('*[data-id="initgit-btn"]') selector: '*[data-id="initgit-btn"]',
suppressNotFoundErrors: true
})
.click({
selector:'*[data-id="initgit-btn"]',
suppressNotFoundErrors: true
})
.pause(2000)
.waitForElementVisible({ .waitForElementVisible({
selector: "//*[@data-status='new-untracked' and @data-file='/tests/storage.test.js']", selector: "//*[@data-status='new-untracked' and @data-file='/tests/storage.test.js']",
locateStrategy: 'xpath' locateStrategy: 'xpath'
@ -482,8 +489,8 @@ module.exports = {
.click('*[data-id="remotes-panel"]') .click('*[data-id="remotes-panel"]')
.waitForElementVisible('*[data-id="remotes-panel-content"]') .waitForElementVisible('*[data-id="remotes-panel-content"]')
.click({ .click({
selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-origin"]', selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-origin"]',
locateStrategy: 'xpath' locateStrategy: 'xpath'
}) })
.waitForElementVisible({ .waitForElementVisible({
selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-origin" and contains(.,"v4-template")]', selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-origin" and contains(.,"v4-template")]',

Loading…
Cancel
Save