-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature-multidomain' into TR-725-cross-domain-bundle
- Loading branch information
Showing
46 changed files
with
464 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"chrome:beta": "91.0.4472.57", | ||
"chrome:beta": "91.0.4472.69", | ||
"chrome:stable": "90.0.4430.212" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
npm/design-system/src/components/virtualizedTree/VirtualizedTree.spec.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
import * as React from 'react' | ||
import { mount } from '@cypress/react' | ||
import { composeStories } from '@storybook/testing-react' | ||
import * as stories from './VirtualizedTree.stories' | ||
|
||
import { mountAndSnapshot } from 'util/testing' | ||
|
||
import * as stories from './VirtualizedTree.stories' | ||
const { VirtualizedTree } = composeStories(stories) | ||
|
||
// TODO: Autogenerate from stories | ||
describe('<VirtualizedTree />', () => { | ||
it('playground', () => { | ||
mount(<VirtualizedTree />) | ||
it('VirtualizedTree', () => { | ||
mountAndSnapshot(<VirtualizedTree />) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import * as React from 'react' | ||
import { composeStories } from '@storybook/testing-react' | ||
|
||
import { mountAndSnapshot } from 'util/testing' | ||
|
||
import * as stories from './Button.stories' | ||
const { Button, IconButton } = composeStories(stories) | ||
|
||
// TODO: Autogenerate from stories | ||
describe('<Button />', () => { | ||
it('Button', () => { | ||
mountAndSnapshot(<Button />) | ||
}) | ||
|
||
it('ButtonSizes', () => { | ||
const ButtonSizes = () => ( | ||
<div style={{ width: 500 }}> | ||
{stories.buttonSizesWithSizes(['text-xs', 'text-s', 'text-ms', 'text-m', 'text-ml', 'text-l', 'text-xl', 'text-2xl', 'text-3xl', 'text-4xl'])} | ||
</div> | ||
) | ||
|
||
mountAndSnapshot(<ButtonSizes />) | ||
}) | ||
|
||
it('IconButton', () => { | ||
mountAndSnapshot(<IconButton />) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import * as React from 'react' | ||
import { Icon } from './Icon' | ||
import { mountAndSnapshot } from 'util/testing' | ||
|
||
import styles from './Icon.stories.module.scss' | ||
import { iconLines } from './Icon.stories' | ||
|
||
// TODO: Autogenerate from stories | ||
describe('<Icon />', () => { | ||
it('Standard icons', () => { | ||
const Icons = () => ( | ||
<div> | ||
<Icon className={styles.icon} icon='check' size='xl' /> | ||
<Icon className={styles.icon} icon='exclamation' size='xl' /> | ||
<Icon className={styles.icon} icon='home' size='xl' /> | ||
<Icon className={styles.icon} icon='arrow-circle-up' size='xl' /> | ||
</div> | ||
) | ||
|
||
mountAndSnapshot(<Icons />) | ||
}) | ||
|
||
it('Icon lines', () => { | ||
const Icons = () => iconLines(['text-xs', 'text-s', 'text-ms', 'text-m', 'text-ml', 'text-l', 'text-xl', 'text-2xl', 'text-3xl', 'text-4xl']) | ||
|
||
mountAndSnapshot(<Icons />) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import * as React from 'react' | ||
import { composeStories } from '@storybook/testing-react' | ||
import * as stories from './Input.stories' | ||
import { mountAndSnapshot } from 'util/testing' | ||
import { iconSizesWithSizes } from './Input.stories' | ||
|
||
const { Input, Icon } = composeStories(stories) | ||
|
||
// TODO: Autogenerate from stories | ||
describe('<Input />', () => { | ||
it('Standard input', () => { | ||
mountAndSnapshot(<Input />) | ||
}) | ||
|
||
it('IconInput', () => { | ||
mountAndSnapshot(<Icon />) | ||
}) | ||
|
||
it('IconInput sizes', () => { | ||
const IconInput = () => ( | ||
<> | ||
{iconSizesWithSizes(['xs', 's', 'ms', 'm', 'ml', 'l', 'xl', '2xl'])} | ||
</> | ||
) | ||
|
||
mountAndSnapshot(<IconInput />) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.