|
|
@ -260,6 +260,7 @@ module.exports = { |
|
|
|
.pause(1000) |
|
|
|
.pause(1000) |
|
|
|
.addFile('test.txt', { content: 'hello world' }, 'README.md') |
|
|
|
.addFile('test.txt', { content: 'hello world' }, 'README.md') |
|
|
|
.clickLaunchIcon('dgit') |
|
|
|
.clickLaunchIcon('dgit') |
|
|
|
|
|
|
|
.pause(2000) |
|
|
|
.waitForElementVisible({ |
|
|
|
.waitForElementVisible({ |
|
|
|
selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']", |
|
|
|
selector: "//*[@data-status='new-untracked' and @data-file='/test.txt']", |
|
|
|
locateStrategy: 'xpath' |
|
|
|
locateStrategy: 'xpath' |
|
|
|