Skip to content

Commit 832ebc2

Browse files
committed
add flaky tags
1 parent bc903cc commit 832ebc2

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

test/jasmine/tests/animate_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ describe('Animating multiple axes', function() {
750750
.then(done, done.fail);
751751
});
752752

753-
it('updates ranges of secondary axes (date + category case)', function(done) {
753+
it('@flaky updates ranges of secondary axes (date + category case)', function(done) {
754754
Plotly.newPlot(gd, [
755755
{x: ['2018-01-01', '2019-01-01', '2020-01-01'], y: [1, 2, 3]},
756756
{x: ['a', 'b', 'c'], y: [1, 2, 3], xaxis: 'x2', yaxis: 'y2'}
@@ -950,7 +950,7 @@ describe('animating scatter traces', function() {
950950
}).then(done, done.fail);
951951
});
952952

953-
it('should animate axis ranges using the less number of steps', function(done) {
953+
it('@flaky should animate axis ranges using the less number of steps', function(done) {
954954
// sanity-check that scatter points and bars are still there
955955
function _assertNodeCnt() {
956956
var gd3 = d3Select(gd);

test/jasmine/tests/cartesian_interact_test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ describe('axis zoom/pan and main plot zoom', function() {
960960
var yr0 = [-0.211, 3.211];
961961

962962
var specs = [{
963-
desc: '@flaky zoombox on xy',
963+
desc: 'zoombox on xy',
964964
drag: ['xy', 'nsew', 30, 30],
965965
exp: [
966966
[['xaxis', 'xaxis2', 'xaxis3'], [1.457, 2.328]],
@@ -1094,7 +1094,7 @@ describe('axis zoom/pan and main plot zoom', function() {
10941094
var msg = 'after ' + s.desc;
10951095
var msg2 = ['after dblclick on subplot', s.dblclickSubplot, msg].join(' ');
10961096

1097-
it(s.desc, function(done) {
1097+
it('@flaky ' + s.desc, function(done) {
10981098
makePlot(data, layout, s).then(function() {
10991099
assertRanges('base', [
11001100
[['xaxis', 'xaxis2', 'xaxis3'], xr0],
@@ -1194,7 +1194,7 @@ describe('axis zoom/pan and main plot zoom', function() {
11941194
specs.forEach(function(s) {
11951195
var msg = 'after ' + s.desc;
11961196

1197-
it(s.desc, function(done) {
1197+
it('@flaky ' + s.desc, function(done) {
11981198
makePlot(data, layout, s).then(function() {
11991199
assertRanges('base', [
12001200
[['xaxis'], xr0],
@@ -1331,7 +1331,7 @@ describe('axis zoom/pan and main plot zoom', function() {
13311331
specs.forEach(function(s) {
13321332
var msg = 'after ' + s.desc;
13331333

1334-
it(s.desc, function(done) {
1334+
it('@flaky ' + s.desc, function(done) {
13351335
makePlot(data, layout, s).then(function() {
13361336
assertRanges('base', [
13371337
[['yaxis', 'xaxis2'], rm0],
@@ -1412,7 +1412,7 @@ describe('axis zoom/pan and main plot zoom', function() {
14121412
var msg2 = ['after dblclick on subplot', s.dblclickSubplot, msg].join(' ');
14131413
var spmatch = s.dblclickSubplot.match(constants.SUBPLOT_PATTERN);
14141414

1415-
it(s.desc, function(done) {
1415+
it('@flaky ' + s.desc, function(done) {
14161416
makePlot(data, layout, s).then(function() {
14171417
assertRanges('base', [
14181418
[['xaxis', 'yaxis'], rng0.xy],

test/jasmine/tests/select_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ describe('Test select box and lasso in general:', function() {
14201420
.then(done, done.fail);
14211421
});
14221422

1423-
it('should cleanly clear and restart selections on double click when add/subtract mode on', function(done) {
1423+
it('@flaky should cleanly clear and restart selections on double click when add/subtract mode on', function(done) {
14241424
var gd = createGraphDiv();
14251425
var fig = Lib.extendDeep({}, require('@mocks/0.json'));
14261426

@@ -2456,7 +2456,7 @@ describe('Test select box and lasso per trace:', function() {
24562456
});
24572457

24582458
[false].forEach(function(hasCssTransform) {
2459-
it('should work for bar traces, hasCssTransform: ' + hasCssTransform, function(done) {
2459+
it('@flaky should work for bar traces, hasCssTransform: ' + hasCssTransform, function(done) {
24602460
var assertPoints = makeAssertPoints(['curveNumber', 'x', 'y']);
24612461
var assertSelectedPoints = makeAssertSelectedPoints();
24622462
var assertRanges = makeAssertRanges();

test/jasmine/tests/transition_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ describe('Plotly.react transitions:', function() {
840840
.then(done, done.fail);
841841
});
842842

843-
it('should not transition layout when axis auto-ranged value do not changed', function(done) {
843+
it('@flaky should not transition layout when axis auto-ranged value do not changed', function(done) {
844844
var data = [{y: [1, 2, 1]}];
845845
var layout = {transition: {duration: 10}};
846846

0 commit comments

Comments
 (0)