diff --git a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/custom_legend_placement.png b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/custom_legend_placement.png index 03a55c28b..1b7d84a93 100644 Binary files a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/custom_legend_placement.png and b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/custom_legend_placement.png differ diff --git a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/y-axis_allowcalibration_disabled.png b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/y-axis_allowcalibration_disabled.png index d98ec8059..9dcca8caa 100644 Binary files a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/y-axis_allowcalibration_disabled.png and b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_large/general-spec/y-axis_allowcalibration_disabled.png differ diff --git a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/custom_legend_placement.png b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/custom_legend_placement.png index 6c33da34e..89969426a 100644 Binary files a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/custom_legend_placement.png and b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/custom_legend_placement.png differ diff --git a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/y-axis_allowcalibration_disabled.png b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/y-axis_allowcalibration_disabled.png index 65849fae2..86fc9e65a 100644 Binary files a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/y-axis_allowcalibration_disabled.png and b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_medium/general-spec/y-axis_allowcalibration_disabled.png differ diff --git a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/custom_legend_placement.png b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/custom_legend_placement.png index 9159c7dcf..eb791ab1a 100644 Binary files a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/custom_legend_placement.png and b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/custom_legend_placement.png differ diff --git a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/y-axis_allowcalibration_disabled.png b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/y-axis_allowcalibration_disabled.png index 196a61709..0ccf87b09 100644 Binary files a/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/y-axis_allowcalibration_disabled.png and b/packages/carbon-graphs/tests/wdio/Graphs/General/__snapshots__/reference/terra-default-theme/en/chrome_tiny/general-spec/y-axis_allowcalibration_disabled.png differ diff --git a/packages/carbon-graphs/tests/wdio/Graphs/General/general-spec.js b/packages/carbon-graphs/tests/wdio/Graphs/General/general-spec.js index 2e698b245..3df9b32fa 100644 --- a/packages/carbon-graphs/tests/wdio/Graphs/General/general-spec.js +++ b/packages/carbon-graphs/tests/wdio/Graphs/General/general-spec.js @@ -70,9 +70,9 @@ Terra.describeViewports('General', ['tiny', 'medium', 'large'], () => { browser.url('/raw/tests/cerner-terra-graphs-docs/graphs/general/axes/allow-calibration-disabled-x-axis'); Terra.validates.screenshot('x-axis_allowcalibration_disabled', { selector: '.carbon-graph-container' }); }); - it('validates y-axis allowCalibration disabled graph container', () => { - browser.url('/raw/tests/cerner-terra-graphs-docs/graphs/general/axes/allow-calibration-disabled-y-axis'); - Terra.validates.screenshot('y-axis_allowcalibration_disabled', { selector: '.carbon-graph-container' }); + it('validates y-axis allowCalibration graphs', () => { + browser.url('/raw/tests/cerner-terra-graphs-docs/graphs/general/allow-calibration'); + Terra.validates.screenshot('y-axis_allowcalibration_disabled', { selector: '#allow-calibration-examples' }); }); it('validates timeseries x-axis allowCalibration enabled graph container', () => { diff --git a/packages/terra-graphs-docs/src/terra-dev-site/test/graphs/General/AllowCalibration.test.jsx b/packages/terra-graphs-docs/src/terra-dev-site/test/graphs/General/AllowCalibration.test.jsx new file mode 100644 index 000000000..3086cf4af --- /dev/null +++ b/packages/terra-graphs-docs/src/terra-dev-site/test/graphs/General/AllowCalibration.test.jsx @@ -0,0 +1,13 @@ +import React from 'react'; +import AllowCalibrationDisabled from '../../../graph/CoreConfiguration.b/examples/AllowCalibrationDisabled'; +import AllowCalibrationEnabled from '../../../graph/CoreConfiguration.b/examples/AllowCalibrationEnabled'; + +export default () => ( +