-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MM: fix Docusaurus 3 breaking changes
- Loading branch information
Showing
6 changed files
with
27 additions
and
44 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,29 @@ | ||
// eslint-disable-next-line ft-flow/require-valid-file-annotation,import/no-extraneous-dependencies | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test('that /til works', async ({ page }) => { | ||
test('/til', async ({ page }) => { | ||
await page.goto('/'); | ||
await expect(page).toHaveTitle(/^Today I Learned \| Martin Zlámal 🤓$/); | ||
}); | ||
|
||
test('that /til-articles works', async ({ page }) => { | ||
test('/til/2022/04/03/list-of-all-packages-installed-using-homebrew', async ({ page }) => { | ||
await page.goto('/til/2022/04/03/list-of-all-packages-installed-using-homebrew'); | ||
await expect(page).toHaveTitle( | ||
/^List of all packages installed using Homebrew | Martin Zlámal 🤓$/, | ||
); | ||
}); | ||
|
||
test('/til-articles', async ({ page }) => { | ||
await page.goto('/til-articles'); | ||
await expect(page).toHaveTitle(/^Articles \| Martin Zlámal 🤓$/); | ||
}); | ||
|
||
test('that /docs/flow works', async ({ page }) => { | ||
test('/til-articles/2021/09/30/fbt-deep-dive', async ({ page }) => { | ||
await page.goto('/til-articles/2021/09/30/fbt-deep-dive'); | ||
await expect(page).toHaveTitle(/^FBT deep dive | Martin Zlámal 🤓$/); | ||
}); | ||
|
||
test('/docs/flow', async ({ page }) => { | ||
await page.goto('/docs/flow'); | ||
await expect(page).toHaveTitle(/^Flow all-in \| Martin Zlámal 🤓$/); | ||
}); |
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