|
|
@ -197,6 +197,7 @@ module.exports = { |
|
|
|
locateStrategy: 'xpath' |
|
|
|
locateStrategy: 'xpath' |
|
|
|
}) |
|
|
|
}) |
|
|
|
.click('*[data-id="sourcecontrol-add-all"]') |
|
|
|
.click('*[data-id="sourcecontrol-add-all"]') |
|
|
|
|
|
|
|
.pause(2000) |
|
|
|
.waitForElementVisible({ |
|
|
|
.waitForElementVisible({ |
|
|
|
selector: "//*[@data-status='deleted-staged' and @data-file='/test.txt']", |
|
|
|
selector: "//*[@data-status='deleted-staged' and @data-file='/test.txt']", |
|
|
|
locateStrategy: 'xpath' |
|
|
|
locateStrategy: 'xpath' |
|
|
@ -210,6 +211,7 @@ module.exports = { |
|
|
|
browser |
|
|
|
browser |
|
|
|
|
|
|
|
|
|
|
|
.click('*[data-id="unDoStagedtest.txt"]') |
|
|
|
.click('*[data-id="unDoStagedtest.txt"]') |
|
|
|
|
|
|
|
.pause(1000) |
|
|
|
.waitForElementNotPresent({ |
|
|
|
.waitForElementNotPresent({ |
|
|
|
selector: "//*[@data-file='/test.txt']", |
|
|
|
selector: "//*[@data-file='/test.txt']", |
|
|
|
locateStrategy: 'xpath' |
|
|
|
locateStrategy: 'xpath' |
|
|
|