Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit b1d4253

Browse files
committed
Tests: Expand functional tests
Closes gh-282 Ref gh-261
1 parent 82df764 commit b1d4253

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
define(function(require) {
2+
var registerSuite = require('intern!object');
3+
var w3cTest = require('../support/w3cTest');
4+
var name = 'pointerevent_pointerleave_does_not_bubble-manual';
5+
6+
registerSuite({
7+
name: name,
8+
9+
main: function() {
10+
return w3cTest(this.remote, name + '.html')
11+
.findById('target0')
12+
.moveMouseTo(50, 25)
13+
.end()
14+
.findById('parent0')
15+
.moveMouseTo(50, -25)
16+
.end()
17+
.checkResults();
18+
}
19+
});
20+
});
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
define(function(require) {
2+
var registerSuite = require('intern!object');
3+
var w3cTest = require('../support/w3cTest');
4+
var name = 'pointerevent_pointerleave_mouse-manual';
5+
6+
registerSuite({
7+
name: name,
8+
9+
main: function() {
10+
return w3cTest(this.remote, name + '.html')
11+
.findById('target0')
12+
.moveMouseTo(50, 25)
13+
.moveMouseTo(50, -25)
14+
.end()
15+
.checkResults();
16+
}
17+
});
18+
});

tests/intern.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ define({
5151

5252
'tests/functional/pointerevent_pointerleave_descendant_over-manual',
5353
'tests/functional/pointerevent_pointerleave_descendants-manual',
54+
'tests/functional/pointerevent_pointerleave_does_not_bubble-manual',
55+
'tests/functional/pointerevent_pointerleave_mouse-manual',
5456

55-
// 'tests/functional/pointerevent_pointerleave_does_not_bubble-manual',
56-
// 'tests/functional/pointerevent_pointerleave_mouse-manual',
5757
// 'tests/functional/pointerevent_pointerleave_pen-manual',
5858
// 'tests/functional/pointerevent_pointerleave_touch-manual',
5959

0 commit comments

Comments
 (0)