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,36 +1,36 @@
describe('Device Page', function () {
describe('Icon View', function () {
describe('Device Page', function() {
describe('Icon View', function() {
var DeviceListPage = require('./')
var deviceListPage = new DeviceListPage()
it('should go to Devices List page', function () {
it('should go to Devices List page', function() {
deviceListPage.get()
browser.getLocationAbsUrl().then(function (newUrl) {
browser.getLocationAbsUrl().then(function(newUrl) {
expect(newUrl).toBe(protractor.getInstance().baseUrl + 'devices')
})
})
it('should have more than 1 device in the list', function () {
it('should have more than 1 device in the list', function() {
expect(deviceListPage.numberOfDevices()).toBeGreaterThan(0)
})
it('should filter available devices', function () {
it('should filter available devices', function() {
deviceListPage.filterAvailableDevices()
expect(deviceListPage.searchInput.getAttribute('value')).toBe('state: "available"')
})
it('should have more than 1 device available', function () {
it('should have more than 1 device available', function() {
expect(deviceListPage.devicesUsable.count()).toBeGreaterThan(0)
})
it('should have one device usable', function () {
it('should have one device usable', function() {
expect(deviceListPage.availableDevice().getAttribute('class')).toMatch('state-available')
})
})
describe('List View', function () {
describe('List View', function() {
})
})