Skip to content

Commit

Permalink
Expect good response values
Browse files Browse the repository at this point in the history
  • Loading branch information
joeytakeda committed Mar 15, 2024
1 parent a115610 commit aa305de
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/tests/tests.spec.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import { test, expect } from "@playwright/test";

test("search page exists", async ({ page }) => {
await page.goto("./test/search.html");
const response = await page.goto("./test/search.html");
expect(response.status()).toEqual(200);
});

test("search debug exists", async ({ page }) => {
await page.goto("./test/search-debug.html");
const response = await page.goto("./test/search-debug.html");
expect(response.status()).toEqual(200);
});

test("manual search debug exists", async ({ page }) => {
await page.goto(".test/search-manual-debug.html");
const response = await page.goto("./test/search-manual-debug.html");
expect(response.status()).toEqual(200);
});

test("tests are successful", async ({ page }) => {
Expand Down

0 comments on commit aa305de

Please sign in to comment.