Skip to content

Commit 0cc80f3

Browse files
Merge pull request #7320 from sainthkh/decaff-driver-6
2 parents 3c9f805 + c88be91 commit 0cc80f3

20 files changed

+6668
-5116
lines changed

packages/driver/test/cypress/integration/commands/actions/check_spec.coffee

Lines changed: 0 additions & 883 deletions
This file was deleted.

packages/driver/test/cypress/integration/commands/actions/check_spec.js

Lines changed: 1157 additions & 0 deletions
Large diffs are not rendered by default.

packages/driver/test/cypress/integration/commands/actions/focus_spec.coffee

Lines changed: 0 additions & 705 deletions
This file was deleted.

packages/driver/test/cypress/integration/commands/actions/focus_spec.js

Lines changed: 896 additions & 0 deletions
Large diffs are not rendered by default.

packages/driver/test/cypress/integration/commands/actions/hover_spec.coffee

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
const $ = Cypress.$.bind(Cypress)
2+
3+
describe('src/cy/commands/actions/hover', () => {
4+
before(() => {
5+
cy
6+
.visit('/fixtures/dom.html')
7+
.then(function (win) {
8+
this.body = win.document.body.outerHTML
9+
})
10+
})
11+
12+
beforeEach(function () {
13+
const doc = cy.state('document')
14+
15+
$(doc.body).empty().html(this.body)
16+
})
17+
18+
context('#hover', () => {
19+
it('throws when invoking', (done) => {
20+
cy.on('fail', (err) => {
21+
expect(err.message).to.include('`cy.hover()` is not currently implemented.')
22+
expect(err.docsUrl).to.eq('https://on.cypress.io/hover')
23+
24+
done()
25+
})
26+
27+
cy.get('button').hover()
28+
})
29+
})
30+
})

0 commit comments

Comments
 (0)