Skip to content

Commit

Permalink
[settings/functiontests] remove duplicate setAdvancedSettings()
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Mar 30, 2016
1 parent 828a4bf commit 6f27183
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/support/pages/settings_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,6 @@ define(function (require) {
return common.findTestSubject('settingsNav advanced').click();
},

setAdvancedSettings: function setAdvancedSettings(propertyName, propertyValue) {
var self = this;
return common.findTestSubject('advancedSetting&' + propertyName + ' editButton')
.click()
.then(function setAdvancedSettingsClickPropertyValue(selectList) {
return self.remote
.findDisplayedByCssSelector('option[label="' + propertyValue + '"]')
.click();
})
.then(function setAdvancedSettingsClickSaveButton() {
return common.findTestSubject('advancedSetting&' + propertyName + ' saveButton')
.click();
});
},

getAdvancedSettings: function getAdvancedSettings(propertyName) {
common.debug('in setAdvancedSettings');
return common.findTestSubject('advancedSetting&' + propertyName + ' currentValue')
Expand Down

0 comments on commit 6f27183

Please sign in to comment.