pull/4791/head
Your Name 5 months ago
parent 7c9dff36c9
commit cc78028f36
  1. 2
      apps/remix-ide-e2e/src/tests/dgit_local.test.ts

@ -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'

Loading…
Cancel
Save