Skip to content

Commit

Permalink
eslint: make happy
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Nov 30, 2022
1 parent 5560f76 commit 8865b08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/e2e/specs/graph.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function checkGraphLayoutPerformed ($el, depth = 0) {
if (depth > 10) {
expect('graph loaded').to.equal(true)
} else if (typeof $el[0].__vue__.graphID !== 'number') {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy
.wait(1000)
.then(() => { checkGraphLayoutPerformed($el, depth + 1) })
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/specs/graphiql.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe('GraphiQL', () => {
// TODO: CodeMirror seems to have a delay to actually set the value to the underlying
// textarea. Which can cause the test below to fail as the query submitted is
// the default commented-out text, instead of the given query above.
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500)
cy.get('.execute-button')
.click()
Expand Down
3 changes: 1 addition & 2 deletions tests/e2e/specs/tree.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,12 @@ describe('Tree view', () => {
cy.visit('/#/tree/one')

// find the task proxy
const taskProxy = cy
cy
.get('.mx-1')
.contains('eventually_succeeded')
.parent()
.parent()

taskProxy
// expand the job nodes
.find('.node-expand-collapse-button')
.click({ force: true })
Expand Down

0 comments on commit 8865b08

Please sign in to comment.