|
|
|
@ -41,7 +41,7 @@ module.exports = { |
|
|
|
|
.setValue('*[data-id="settingsTabGistAccessToken"]', '**********') |
|
|
|
|
.click('*[data-id="settingsTabSaveGistToken"]') |
|
|
|
|
.waitForElementVisible('*[data-shared="tooltipPopup"]:nth-last-of-type(1)', 5000) |
|
|
|
|
.assert.containsText('*[data-shared="tooltipPopup"]:nth-last-of-type(1)', 'Access token saved') |
|
|
|
|
.assert.containsText('*[data-shared="tooltipPopup"]:nth-last-of-type(1)', 'Access token has been saved') |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should copy github access token to clipboard': function (browser: NightwatchBrowser) { |
|
|
|
|