fix: failing e2e test (#20751)
This commit is contained in:
1 parent
8974f8f9de
commit
a8fe3a6466
1 file changed
+2
-1
@@ -66,7 +66,8 @@ async function verifyRobotsMetaTag({ page, orgSlug, urls, expectedContent }: Ver
|
||||
await doOnOrgDomain({ orgSlug, page }, async ({ page, goToUrlWithErrorHandling }) => {
|
||||
for (const relativeUrl of urls) {
|
||||
const { url } = await goToUrlWithErrorHandling(relativeUrl);
|
||||
const metaTag = await page.locator('head > meta[name="robots"]');
|
||||
const metaTag = page.locator('head > meta[name="robots"]');
|
||||
await expect(metaTag).toBeAttached();
|
||||
const metaTagValue = await metaTag.getAttribute("content");
|
||||
expect(metaTagValue).not.toBeNull();
|
||||
expect(
|
||||
|
||||
Reference in new issue
Block a user