Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-graph-docs] Update core-configuration/graph-config-object documentation & examples #341

Merged
merged 22 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
env:
SITE: build/${{ matrix.theme }}
FORM_FACTOR: ${{ matrix.form-factor }}
run: npm run wdio-${{ matrix.theme }}
run: npm run wdio:${{ matrix.theme }}

release-and-deploy:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
"test": "npm run lint && npm run jest && npm run wdio-default",
"test:docker": "npm run lint && npm run jest && && npm run karma && npm run wdio-default:docker",
"wdio": "npm run compile && terra wdio --themes terra-default-theme",
"wdio-default": "terra wdio --themes terra-default-theme",
"wdio-default:docker": "terra wdio --disable-selenium-service=true",
"wdio:default": "terra wdio --themes terra-default-theme",
"wdio:default:docker": "terra wdio --disable-selenium-service=true",
"wdio:docker": "terra wdio --disable-selenium-service=true --themes terra-default-theme",
"wdio:bar": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/BarGraph/bar-graph-spec.js",
"wdio:bubble": "terra wdio --themes terra-default-theme --spec packages/carbon-graphs/tests/wdio/Graphs/BubbleGraph/bubbleGraphs-spec.js",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions packages/carbon-graphs/tests/wdio/Graphs/General/general-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 disabled graph', () => {
browser.url('/raw/tests/cerner-terra-graphs-docs/graphs/general/allow-calibration');
Terra.validates.screenshot('y-axis_allowcalibration_disabled', { selector: '#allow-calibration-disabled-example' });
});

it('validates timeseries x-axis allowCalibration enabled graph container', () => {
Expand All @@ -90,8 +90,8 @@ Terra.describeViewports('General', ['tiny', 'medium', 'large'], () => {
Terra.validates.screenshot('x-axis_allowcalibration_enabled', { selector: '.carbon-graph-container' });
});
it('validates y-axis allowCalibration enabled graph container', () => {
browser.url('/raw/tests/cerner-terra-graphs-docs/graphs/general/axes/allow-calibration-enabled-y-axis');
Terra.validates.screenshot('y-axis_allowcalibration_enabled', { selector: '.carbon-graph-container' });
browser.url('/raw/tests/cerner-terra-graphs-docs/graphs/general/allow-calibration');
Terra.validates.screenshot('y-axis_allowcalibration_enabled', { selector: '#allow-calibration-enabled-example' });
});

it('validates Y-axis hidden graph container', () => {
Expand Down Expand Up @@ -144,7 +144,7 @@ Terra.describeViewports('General', ['tiny', 'medium', 'large'], () => {
describe('Legend', () => {
it('validates custom legend placement graph container', () => {
browser.url('/raw/tests/cerner-terra-graphs-docs/graphs/general/padding/custom-legend-placement');
Terra.validates.screenshot('custom_legend_placement', { selector: '.bindto-container' });
Terra.validates.screenshot('custom_legend_placement', { selector: '#custom-legend-example' });
});

it('validates graph and legend padding reduced graph container', () => {
Expand Down
1 change: 1 addition & 0 deletions packages/terra-graphs-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

* Changed
* Updated core-configuration/graph-config-object documentation and examples.
* Optimized published package size by removing unecessary files.
* Moved Core Configuration documentation up one level out of its subfolder.
* Updated documentation to use new named export.
Expand Down

This file was deleted.

Loading
Loading