Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Note test fix #1593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 13, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
make annotation test more robust?
  • Loading branch information
alexcjohnson committed Apr 12, 2017
commit 93dc7431193b3191bf6e1cd78ff081d1e4fe410c
10 changes: 5 additions & 5 deletions 10 test/jasmine/tests/annotations_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,8 @@ describe('annotation effects', function() {
mouseEvent('mouseout', pos[0], pos[1]);
mouseEvent('mousemove', 0, 0);

setTimeout(resolve, constants.HOVERMINTIME);
}, constants.HOVERMINTIME);
setTimeout(resolve, constants.HOVERMINTIME * 1.5);
}, constants.HOVERMINTIME * 1.5);
});
}

Expand All @@ -1107,10 +1107,10 @@ describe('annotation effects', function() {
spec.push([pos0Head, '']);
spec.push([pos2Head, '']);
var p = Promise.resolve();
spec.forEach(function(speci, i) {
spec.forEach(function(speci) {
p = p.then(function() {
return assertHoverLabel(speci[0], speci[1],
msg ? msg + ' (' + i + ')' : i);
msg ? msg + ' (' + speci + ')' : speci);
});
});
return p;
Expand All @@ -1132,7 +1132,7 @@ describe('annotation effects', function() {
}

makePlot([
{x: 50, y: 50, text: 'hi', width: 50, ax: 0, ay: -40, xshift: -50, yshift: 50},
{x: 50, y: 50, text: 'hi', width: 50, height: 40, ax: 0, ay: -40, xshift: -50, yshift: 50},
{x: 20, y: 20, text: 'bye', height: 40, showarrow: false},
{x: 80, y: 80, text: 'why?', ax: 0, ay: -40}
], {}) // turn off the default editable: true
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.