Skip to content

reduce logs of domain_ref tests #5371

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 1 commit into from
Jan 5, 2021
Merged
Changes from all commits
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
42 changes: 9 additions & 33 deletions test/jasmine/assets/domain_ref/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,14 +572,9 @@ function describeShapeComboTest(combo) {
var xid = axispair[0];
var yid = axispair[1];
return [
'#', gdId,
'should create a plot with parameters:', '\n',
'x-axis type:', xaxisType, '\n',
'y-axis type:', yaxisType, '\n',
'axis pair:', xid, yid, '\n',
'ARO position x:', JSON.stringify(xaroPos), '\n',
'ARO position y:', JSON.stringify(yaroPos), '\n',
'shape type:', shapeType, '\n',
'should plot shape:', shapeType, 'on', gdId,
xaxisType, xid, JSON.stringify(xaroPos),
yaxisType, yid, JSON.stringify(yaroPos),
].join(' ');
}

Expand Down Expand Up @@ -619,21 +614,11 @@ function describeImageComboTest(combo) {
var gdId = combo[7];
var xid = axispair[0];
var yid = axispair[1];
var xref = makeAxRef(xid, aroposx.ref);
var yref = makeAxRef(yid, aroposy.ref);
// TODO Add image combo test description
return [
'#', gdId,
'should create a plot with parameters:', '\n',
'x-axis type:', axistypex, '\n',
'y-axis type:', axistypey, '\n',
'axis pair:', xid, yid, '\n',
'ARO position x:', JSON.stringify(aroposx), '\n',
'ARO position y:', JSON.stringify(aroposy), '\n',
'xanchor:', xanchor, '\n',
'yanchor:', yanchor, '\n',
'xref:', xref, '\n',
'yref:', yref, '\n',
'should plot image on', gdId,
axistypex, xid, xanchor, JSON.stringify(aroposx),
axistypey, yid, yanchor, JSON.stringify(aroposy),
].join(' ');
}

Expand Down Expand Up @@ -681,19 +666,10 @@ function describeAnnotationComboTest(combo) {
var gdId = combo[6];
var xid = axispair[0];
var yid = axispair[1];
var xref = makeAxRef(xid, aroposx.ref);
var yref = makeAxRef(yid, aroposy.ref);
return [
'#', gdId,
'should create a plot with parameters:', '\n',
'x-axis type:', axistypex, '\n',
'y-axis type:', axistypey, '\n',
'axis pair:', xid, yid, '\n',
'ARO position x:', JSON.stringify(aroposx), '\n',
'ARO position y:', JSON.stringify(aroposy), '\n',
'arrow axis pair:', arrowaxispair, '\n',
'xref:', xref, '\n',
'yref:', yref, '\n',
'should plot annotation', arrowaxispair, 'on', gdId,
axistypex, xid, JSON.stringify(aroposx),
axistypey, yid, JSON.stringify(aroposy),
].join(' ');
}

Expand Down