Fixed linting

This commit is contained in:
Grzegorz Leoniec 2019-01-08 18:47:14 +01:00
parent 272012c020
commit aeed12a2bf
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -1,6 +1,5 @@
import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps'
import find from 'lodash/find'
import { eq } from 'semver';
/* global cy */
@ -74,7 +73,6 @@ Given('my user account has the role {string}', role => {
// TODO: use db factories instead of seed data
})
When('I log out', logout)
When('I visit the {string} page', page => {
@ -187,7 +185,8 @@ Then(
.clear()
.type(name)
cy.contains('Save').click()
})
}
)
When('I press {string}', label => {
cy.contains(label).click()
})