Skip to content

Commit

Permalink
test(e2e): check the grammar of new articles
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Nov 5, 2023
1 parent 2cd5a40 commit 067f343
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { test } from "@playwright/test"

import checkGrammar from "../../utilities/check_grammar.ts"

test("page has correct grammar", async ({ page }) => {
await page.goto("/articles/installation_guide_for_fragmented_web_servers")

await checkGrammar(page)
})
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { test } from "@playwright/test"
import checkGrammar from "../../utilities/check_grammar.ts"

test("page has correct grammar", async ({ page }) => {
await page.goto("/articles/different_levels_of_abstraction_in_programming")
await page.goto("/articles/key_steps_to_add_gramma_for_improved_ci")

await checkGrammar(page)
})

0 comments on commit 067f343

Please sign in to comment.