save screenshots

pull/5103/head
bunsenstraat 3 months ago committed by bunsenstraat
parent 8c847140bc
commit e2fdc93066
  1. 3
      apps/remix-ide-e2e/src/tests/dgit_local.test.ts

@ -241,7 +241,10 @@ module.exports = {
'check if the branch is in the filePanel #flaky #group2': function (browser: NightwatchBrowser) {
browser
.clickLaunchIcon('filePanel')
.saveScreenshot('./reports/screenshots/dgit_local.test.png')
.waitForElementVisible('*[data-id="workspaceGitBranchesDropdown"]')
.click('[data-id="workspaceGitBranchesDropdown"]')
.saveScreenshot('./reports/screenshots/dgit_local_2.test.png')
.expect.element('[data-id="workspaceGit-testbranch"]').text.to.contain('✓ ')
},
'publish the branch #group2': function (browser: NightwatchBrowser) {

Loading…
Cancel
Save