|
|
|
@ -40,6 +40,7 @@ module.exports = { |
|
|
|
|
.click('[data-id="settingsTabSaveGistToken"]') |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'Should create and initialize a GIT repository #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
@ -59,6 +60,20 @@ module.exports = { |
|
|
|
|
.waitForElementVisible('[data-id="workspaceGitPanel"]') |
|
|
|
|
.waitForElementContainsText('[data-id="workspaceGitBranchesDropdown"]', 'main') |
|
|
|
|
}, |
|
|
|
|
'check git for the commit #group1 #group2 #group3': function (browser: NightwatchBrowser) { |
|
|
|
|
browser. |
|
|
|
|
clickLaunchIcon('dgit') |
|
|
|
|
.click('*[data-id="commits-panel"]') |
|
|
|
|
.waitForElementPresent({ |
|
|
|
|
selector: '//*[@data-id="commits-current-branch-main"]//*[@data-id="commit-summary-Initial commit: remix template blank-"]', |
|
|
|
|
locateStrategy: 'xpath' |
|
|
|
|
}) |
|
|
|
|
.click('*[data-id="branches-panel"]') |
|
|
|
|
.waitForElementPresent({ |
|
|
|
|
selector: '//*[@data-id="branches-panel-content"]//*[@data-id="branches-current-branch-main"]', |
|
|
|
|
locateStrategy: 'xpath' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// CLONE REPOSITORY E2E START
|
|
|
|
|
|
|
|
|
|