Skip to content

Commit d40c275

Browse files
eslint: make happy
1 parent d6359ac commit d40c275

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tests/e2e/specs/graph.cy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function checkGraphLayoutPerformed ($el, depth = 0) {
3030
if (depth > 10) {
3131
expect('graph loaded').to.equal(true)
3232
} else if (typeof $el[0].__vue__.graphID !== 'number') {
33+
// eslint-disable-next-line cypress/no-unnecessary-waiting
3334
cy
3435
.wait(1000)
3536
.then(() => { checkGraphLayoutPerformed($el, depth + 1) })

tests/e2e/specs/graphiql.cy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ describe('GraphiQL', () => {
4949
// TODO: CodeMirror seems to have a delay to actually set the value to the underlying
5050
// textarea. Which can cause the test below to fail as the query submitted is
5151
// the default commented-out text, instead of the given query above.
52+
// eslint-disable-next-line cypress/no-unnecessary-waiting
5253
cy.wait(500)
5354
cy.get('.execute-button')
5455
.click()

tests/e2e/specs/tree.cy.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,12 @@ describe('Tree view', () => {
141141
cy.visit('/#/tree/one')
142142

143143
// find the task proxy
144-
const taskProxy = cy
144+
cy
145145
.get('.mx-1')
146146
.contains('eventually_succeeded')
147147
.parent()
148148
.parent()
149149

150-
taskProxy
151150
// expand the job nodes
152151
.find('.node-expand-collapse-button')
153152
.click({ force: true })

0 commit comments

Comments
 (0)