Fix all res/ files with ESLint rules with 0 errors.

This commit is contained in:
Gunther Brunner
2016-01-19 23:08:33 +09:00
parent 1006564ae7
commit a3f815c118
258 changed files with 1634 additions and 1634 deletions

View File

@@ -1,5 +1,5 @@
module.exports = function DeviceListPage() {
this.get = function () {
this.get = function() {
// TODO: Let's get rid off the login first
browser.get(protractor.getInstance().baseUrl + 'devices')
}
@@ -7,16 +7,16 @@ module.exports = function DeviceListPage() {
this.devicesByCss = element.all(by.css('ul.devices-icon-view > li'))
this.devicesUsable = element.all(by.css('.state-available'))
this.searchInput = element(by.model('search.deviceFilter'))
this.filterAvailableDevices = function () {
this.filterAvailableDevices = function() {
return this.searchInput.sendKeys('state: "available"')
}
this.numberOfDevices = function () {
this.numberOfDevices = function() {
return this.devicesByCss.count()
}
this.availableDevice = function () {
this.availableDevice = function() {
return this.devicesUsable.first()
}
this.controlAvailableDevice = function () {
this.controlAvailableDevice = function() {
return this.availableDevice().click()
}
}