|
|
@ -31,8 +31,11 @@ module.exports = { |
|
|
|
.waitForElementVisible('*[data-id="github-panel"]') |
|
|
|
.waitForElementVisible('*[data-id="github-panel"]') |
|
|
|
.waitForElementVisible('*[data-id="gitubUsername"]') |
|
|
|
.waitForElementVisible('*[data-id="gitubUsername"]') |
|
|
|
.setValue('*[data-id="githubToken"]', process.env.dgit_token) |
|
|
|
.setValue('*[data-id="githubToken"]', process.env.dgit_token) |
|
|
|
|
|
|
|
.pause(1000) |
|
|
|
.setValue('*[data-id="gitubUsername"]', 'git') |
|
|
|
.setValue('*[data-id="gitubUsername"]', 'git') |
|
|
|
|
|
|
|
.pause(1000) |
|
|
|
.setValue('*[data-id="githubEmail"]', 'git@example.com') |
|
|
|
.setValue('*[data-id="githubEmail"]', 'git@example.com') |
|
|
|
|
|
|
|
.pause(1000) |
|
|
|
.click('*[data-id="saveGitHubCredentials"]') |
|
|
|
.click('*[data-id="saveGitHubCredentials"]') |
|
|
|
}, |
|
|
|
}, |
|
|
|
'check if the settings are loaded #group1 #group2': function (browser: NightwatchBrowser) { |
|
|
|
'check if the settings are loaded #group1 #group2': function (browser: NightwatchBrowser) { |
|
|
|