checkPostPublished = async (page, {slug, title, body}) => {
    if (!slug) {
        slug = slugify(title);
    }
    const url = `/${slug}/`;

    // Check again, now it should have been added to the page
    const response = await page.goto(url);
    expect(response.status()).toBe(200);

    // Check if the title and body are present on this page
    await expect(page.locator('.gh-article-title')).toHaveText(title);
    await expect(page.locator('.gh-content.gh-canvas > p')).toHaveText(body);
}
Checks the post or page doesn't exist and returns a 404 page
@param {import('@playwright/test').Page} page
@param {Object} options
@param {String} [options.slug]
@param {String} options.title
@param {String} options.body