mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -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() {
|
||||
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user