test git test

switchtest
bunsenstraat 3 weeks ago
parent 3dfc291b95
commit 9ca7861d16
  1. 2
      .circleci/config.yml
  2. 4
      apps/remix-ide-e2e/src/tests/dgit_local.test.ts

@ -3,7 +3,7 @@ version: 2.1
parameters:
run_flaky_tests:
type: boolean
default: false
default: true
orbs:
browser-tools: circleci/browser-tools@1.4.4
win: circleci/windows@5.0

@ -399,7 +399,7 @@ module.exports = {
locateStrategy: 'xpath'
})
},
'check the log #group4': async function (browser: NightwatchBrowser) {
'check the log #group4 #flaky': async function (browser: NightwatchBrowser) {
const logs = await getGitLog('/tmp/git/bare2.git')
console.log(logs)
browser.assert.ok(logs.includes('testcommit'))
@ -409,9 +409,11 @@ module.exports = {
},
'switch to origin #group4': function (browser: NightwatchBrowser) {
browser
.pause(2000)
.click('*[data-id="remotes-panel"]')
.waitForElementVisible('*[data-id="set-as-default-origin"]')
.click('*[data-id="set-as-default-origin"]')
.pause(3000)
},
'check the commands for origin #group4': function (browser: NightwatchBrowser) {
browser

Loading…
Cancel
Save