Skip to content

Commit

Permalink
Merge pull request #228 from storybookjs/component-testing-tweaks
Browse files Browse the repository at this point in the history
Interaction test → Component test
  • Loading branch information
kylegach committed Sep 9, 2024
2 parents 6746ab9 + feb7f1e commit d87e459
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/frontpage/components/community/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const Events: FC = () => {
Strategies for organizing your stories and auto-generating docs.
</li>
<li>
Use stories to test components for visual, interaction, and
Use stories to test components for visual, functional, and
accessibility purposes.
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion apps/frontpage/components/home/automate/automate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const Automate: FC = () => {
/>
<Publish />
<FeatureStep
description="Test every facet of your UI: interaction, visual, accessibility, and snapshot, in CI to detect UI bugs down to the component."
description="Test every facet of your UI: visual, functional, accessibility, and snapshot, in CI to detect UI bugs down to the component."
href="/docs/writing-tests/test-runner"
linkLabel="Auto-detect UI bugs"
title="UI Tests"
Expand Down
4 changes: 2 additions & 2 deletions apps/frontpage/components/home/hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import SocialProof from './social-proof';

const features = [
'Development',
'Interaction Testing',
'Visual Testing',
'Component testing',
'Visual testing',
'Documentation',
];

Expand Down
10 changes: 5 additions & 5 deletions apps/frontpage/components/home/test/test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ const features = [
},
{
icon: <Interact />,
title: 'Interaction test behavior',
title: 'Component test behavior',
description: 'Simulate user behavior and assert in the browser.',
link: {
label: 'Learn about interaction tests',
href: '/docs/writing-tests/interaction-testing',
label: 'Learn about component tests',
href: '/docs/writing-tests/component-testing',
},
media: '/home/test/homepage-interaction-testing-lg.mp4',
poster: '/home/test/homepage-interaction-testing-poster-lg.jpg',
media: '/home/test/homepage-component-testing-lg.mp4',
poster: '/home/test/homepage-component-testing-poster-lg.jpg',
},
{
icon: <Accessibility />,
Expand Down
4 changes: 2 additions & 2 deletions apps/frontpage/redirects/docs-common-redirects.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RedirectData } from './types';
import { type RedirectData } from './types';

export const docsCommonRedirects: RedirectData[] = [
{
Expand Down Expand Up @@ -198,7 +198,7 @@ export const docsCommonRedirects: RedirectData[] = [
},
{
source: '/docs/testing/interaction-testing',
destination: '/docs/writing-tests/interaction-testing',
destination: '/docs/writing-tests/component-testing',
permanent: true,
},
{
Expand Down
2 changes: 1 addition & 1 deletion apps/frontpage/scripts/raw-redirects
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/docs/workflows/testing-with-storybook/ /docs/writing-tests 308
/docs/workflows/unit-testing/ /docs/writing-tests/import-stories-in-tests/stories-in-unit-tests/ 308
/docs/workflows/visual-testing/ /docs/writing-tests/visual-testing/ 308
/docs/workflows/interaction-testing/ /docs/writing-tests/interaction-testing/ 308
/docs/workflows/interaction-testing/ /docs/writing-tests/component-testing/ 308
/docs/workflows/snapshot-testing/ /docs/writing-tests/snapshot-testing/snapshot-testing 308
/docs/workflows/build-pages-with-storybook/ /docs/writing-stories/build-pages-with-storybook/ 308
/docs/workflows/stories-for-multiple-components/ /docs/writing-stories/stories-for-multiple-components/ 308
Expand Down

0 comments on commit d87e459

Please sign in to comment.