async function()

in src/cmp_aus.js [66:81]


		async function () {
			log(
				'After we clear local storage and cookies, the CMP banner is displayed once again',
			);

			await clearLocalStorage(page);
			await clearCookies(page);
			await reloadPage(page);
			await new Promise((r) => setTimeout(r, TWO_SECONDS)); // Wait an extra two seconds after reloading the page
			await synthetics.takeScreenshot(
				`cmp-${pageType}`,
				'cookies and local storage cleared then page reloaded',
			);
			await checkCMPIsOnPage(page, pageType);
			await checkTopAdHasLoaded(page, pageType);
		},