Skip to content

Commit

Permalink
[javascript] Removing comment as we are opening a browser per test
Browse files Browse the repository at this point in the history
It is not ideal to open a browser per test but this seems
to make tests in Chrome run more stable.
  • Loading branch information
diemol committed Apr 8, 2022
1 parent 8301f18 commit 8215a1e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions javascript/node/selenium-webdriver/test/actions_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
'use strict'

const assert = require('assert')
const error = require('../lib/error')
const fileServer = require('../lib/test/fileserver')
const { ignore, Pages, suite } = require('../lib/test')
const { Key, Origin } = require('../lib/input')
Expand Down Expand Up @@ -107,12 +106,6 @@ suite(function (env) {
assert.strictEqual(await box.getAttribute('class'), 'blue')
})

// For some reason for Chrome 75 we need to wrap this test in an extra
// describe for the afterEach hook above to properly clear action sequences.
// This appears to be a quirk of the timing around mocha tests and not
// necessarily a bug in the chromedriver.
// TODO(jleyba): dig into this more so we can remove this hack.
// describe('dragAndDrop()', function () {
it('dragAndDrop()', async function () {
await driver.get(fileServer.whereIs('/data/actions/drag.html'))

Expand All @@ -130,7 +123,6 @@ suite(function (env) {
assert.strictEqual(await slide.getCssValue('left'), '206px')
assert.strictEqual(await slide.getCssValue('top'), '1px')
})
// })

it('move()', async function () {
await driver.get(fileServer.whereIs('/data/actions/drag.html'))
Expand Down

0 comments on commit 8215a1e

Please sign in to comment.