|
|
@ -41,7 +41,7 @@ module.exports = { |
|
|
|
.setValue('*[data-id="settingsTabGistAccessToken"]', '**********') |
|
|
|
.setValue('*[data-id="settingsTabGistAccessToken"]', '**********') |
|
|
|
.click('*[data-id="settingsTabSaveGistToken"]') |
|
|
|
.click('*[data-id="settingsTabSaveGistToken"]') |
|
|
|
.waitForElementVisible('*[data-shared="tooltipPopup"]', 5000) |
|
|
|
.waitForElementVisible('*[data-shared="tooltipPopup"]', 5000) |
|
|
|
.assert.containsText('*[data-shared="tooltipPopup"]', 'GitHub credentials updated') |
|
|
|
.assert.containsText('*[data-shared="tooltipPopup"]', 'Credentials updated') |
|
|
|
.pause(3000) |
|
|
|
.pause(3000) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ module.exports = { |
|
|
|
.pause(1000) |
|
|
|
.pause(1000) |
|
|
|
.click('*[data-id="settingsTabRemoveGistToken"]') |
|
|
|
.click('*[data-id="settingsTabRemoveGistToken"]') |
|
|
|
.waitForElementVisible('*[data-shared="tooltipPopup"]', 5000) |
|
|
|
.waitForElementVisible('*[data-shared="tooltipPopup"]', 5000) |
|
|
|
.assert.containsText('*[data-shared="tooltipPopup"]', 'GitHub credentials removed') |
|
|
|
.assert.containsText('*[data-shared="tooltipPopup"]', 'Credentials removed') |
|
|
|
.assert.containsText('*[data-id="settingsTabGistAccessToken"]', '') |
|
|
|
.assert.containsText('*[data-id="settingsTabGistAccessToken"]', '') |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|