Skip to content

Commit

Permalink
remove more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Jun 26, 2024
1 parent 70e6983 commit 7c3fb74
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions testing/tests/headless.index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,6 @@ test.describe("Basic viewing of functional pages", () => {
).toBeTruthy();
});

test("open the /en-US/docs/Learn/CSS/CSS_layout/Introduction page", async ({
page,
}) => {
const uri = "/en-US/docs/Learn/CSS/CSS_layout/Introduction";
const gridSample2Uri = liveSampleURL(uri, "grid_2");
await page.goto(testURL(uri));
expect(await page.title()).toContain("A Test Introduction to CSS layout");
expect(await page.innerText("h1")).toBe(
"A Test Introduction to CSS layout"
);
expect(await page.innerText("#flexbox")).toBe("Flexbox");
expect(
await page.innerText("#grid_2 pre.css.notranslate:not(.hidden)")
).toMatch(/\.wrapper\s*\{\s*display:\s*grid;/);
expect(
await page.isVisible(`iframe.sample-code-frame[src$="${gridSample2Uri}"]`)
).toBeTruthy();
});

test("open the /en-US/docs/Learn/CSS/CSS_layout/Introduction/Grid page", async ({
page,
}) => {
Expand Down

0 comments on commit 7c3fb74

Please sign in to comment.