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

Commit

Permalink
update: wdio
Browse files Browse the repository at this point in the history
  • Loading branch information
MadanKumarGovindaswamy committed May 21, 2024
1 parent fc2d863 commit 8f7dc37
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class DrillInExample extends React.Component {
key: 'subsubmenu3', text: 'Rehabilitation services', childKeys: ['rehab1', 'rehab2', 'rehab3'], icon: <IconHospital />,
},
{ key: 'rehab1', text: 'Rehabilitation services 1' },
{ key: 'rehab2', text: 'Rehabilitation services 2' },
{ key: 'rehab2', text: 'Rehabilitation services 2', childKeys: [], isLoading: true, customStatusDisplay: <span>Loading...</span>, },

Check failure on line 76 in packages/terra-framework-docs/src/terra-dev-site/test/navigation-side-menu/DrillIn.test.jsx

View workflow job for this annotation

GitHub Actions / build

Expected a line break after this opening brace

Check failure on line 76 in packages/terra-framework-docs/src/terra-dev-site/test/navigation-side-menu/DrillIn.test.jsx

View workflow job for this annotation

GitHub Actions / build

Unexpected trailing comma

Check failure on line 76 in packages/terra-framework-docs/src/terra-dev-site/test/navigation-side-menu/DrillIn.test.jsx

View workflow job for this annotation

GitHub Actions / build

Expected a line break before this closing brace
{ key: 'rehab3', text: 'Rehabilitation services 3', childKeys: [] },
]}
onChange={this.handleOnChange}
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.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ Terra.describeViewports('DrillIn View', ['medium'], () => {
browser.keys(['Tab', 'ArrowDown', 'ArrowDown', 'ArrowDown', 'ArrowDown', 'ArrowDown', 'ArrowRight']);
Terra.validates.element('displays no results custom status', { selector: '#root' });
});

it('Should display custom status when Loading is true', () => {
browser.url('/#/raw/tests/cerner-terra-framework-docs/navigation-side-menu/drill-in');
browser.keys(['Tab', 'ArrowDown', 'ArrowRight', 'ArrowDown', 'ArrowDown', 'ArrowDown']);
browser.keys(['ArrowRight', 'ArrowDown', 'ArrowDown', 'ArrowRight']);
Terra.validates.element('displays loading status', { selector: '#root' });
});
});
});

0 comments on commit 8f7dc37

Please sign in to comment.