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