Skip to content

Commit f6b91e8

Browse files
committed
tweak new test to pass on CI
1 parent 3737ca9 commit f6b91e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/jasmine/tests/sunburst_test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -2136,8 +2136,8 @@ describe('sunburst uniformtext', function() {
21362136
textinfo: 'label'
21372137
}],
21382138
layout: {
2139-
width: 350,
2140-
height: 350,
2139+
width: 320,
2140+
height: 320,
21412141
uniformtext: {
21422142
mode: 'hide',
21432143
minsize: 10
@@ -2146,7 +2146,7 @@ describe('sunburst uniformtext', function() {
21462146
})
21472147
.then(assertTextSizes('before click', {
21482148
fontsizes: [12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12],
2149-
scales: [0.92, 0.92, 0.92, 0, 0, 0, 0, 0.92, 0.92, 0.92, 0.92, 0.92],
2149+
scales: [0.86, 0.86, 0, 0, 0, 0, 0, 0.86, 0, 0.86, 0.86, 0.86],
21502150
}))
21512151
.then(click(gd, 2)) // click on Uniform
21522152
.then(delay(constants.CLICK_TRANSITION_TIME + 1))
@@ -2158,7 +2158,7 @@ describe('sunburst uniformtext', function() {
21582158
.then(delay(constants.CLICK_TRANSITION_TIME + 1))
21592159
.then(assertTextSizes('after click parent', {
21602160
fontsizes: [12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12],
2161-
scales: [0.92, 0.92, 0.92, 0, 0, 0, 0, 0.92, 0.92, 0.92, 0.92, 0.92],
2161+
scales: [0.86, 0.86, 0, 0, 0, 0, 0, 0.86, 0, 0.86, 0.86, 0.86],
21622162
}))
21632163
.catch(failTest)
21642164
.then(done);

0 commit comments

Comments
 (0)