Skip to content

Commit

Permalink
Add tests for Features and Implementations page; establish a pattern …
Browse files Browse the repository at this point in the history
…for mocking Contentful CMS API responses
  • Loading branch information
adamjarling committed Jul 9, 2024
1 parent 0003bad commit 4aa9aef
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 461 deletions.
8 changes: 4 additions & 4 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ export default defineConfig({

/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// name: "Mobile Chrome",
// use: { ...devices["Pixel 5"] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// name: "Mobile Safari",
// use: { ...devices["iPhone 12"] },
// },

/* Test against branded browsers. */
Expand Down
2 changes: 1 addition & 1 deletion src/components/features/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function FeatureList() {
});

return (
<ul>
<ul data-testid="feature-list">
{(isFetching || isPending) && <Skeleton count={5} />}

{data &&
Expand Down
Loading

0 comments on commit 4aa9aef

Please sign in to comment.