Skip to content

Commit

Permalink
Fix the e2e tests to include the new blog post.
Browse files Browse the repository at this point in the history
This commit also renames the blog post away from "screen".
  • Loading branch information
hockeybuggy committed Nov 16, 2024
1 parent ad5cc80 commit 4042684
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/blog/2024-11-15-main_COJNQNBD.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Making a fancy loading screen
slug: "fancy-loading-screen"
title: Making a fancy loading state
slug: "fancy-loading-state"
date: "2024-11-15"
tags:
- development
Expand Down
5 changes: 5 additions & 0 deletions e2e_tests/blog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import { loadPage } from "./utils";
// This is done in order to use `describe.each` and ensure that each of the
// blog posts load.
const expectedBlogPosts = [
{
postDate: "2024-11-15",
postTitle: "Making a fancy loading state",
postPathName: "/blog/post/2024/11/fancy-loading-state",
},
{
postDate: "2021-12-26",
postTitle: "Switching to Next.js",
Expand Down

0 comments on commit 4042684

Please sign in to comment.