|
|
@ -51,7 +51,6 @@ module.exports = { |
|
|
|
.click('*[data-id="clone-btn"]') |
|
|
|
.click('*[data-id="clone-btn"]') |
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemREADME.md"]') |
|
|
|
.waitForElementVisible('*[data-id="treeViewLitreeViewItemREADME.md"]') |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// GROUP 1
|
|
|
|
// GROUP 1
|
|
|
@ -198,8 +197,9 @@ module.exports = { |
|
|
|
browser.assert.ok(branches.includes('testbranch')) |
|
|
|
browser.assert.ok(branches.includes('testbranch')) |
|
|
|
}, |
|
|
|
}, |
|
|
|
'add file to new branch #group2': function (browser: NightwatchBrowser) { |
|
|
|
'add file to new branch #group2': function (browser: NightwatchBrowser) { |
|
|
|
browser. |
|
|
|
browser |
|
|
|
addFile('test.txt', { content: 'hello world' }, 'README.md') |
|
|
|
.pause(1000) |
|
|
|
|
|
|
|
.addFile('test.txt', { content: 'hello world' }, 'README.md') |
|
|
|
.clickLaunchIcon('dgit') |
|
|
|
.clickLaunchIcon('dgit') |
|
|
|
.waitForElementVisible({ |
|
|
|
.waitForElementVisible({ |
|
|
|
selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']", |
|
|
|
selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']", |
|
|
|