From 8ff6c8ccb4b28d377c0fab4727ce3660363babb2 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 3 Oct 2024 11:10:46 +0200 Subject: [PATCH] show data --- apps/remix-ide-e2e/src/tests/matomo.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/matomo.test.ts b/apps/remix-ide-e2e/src/tests/matomo.test.ts index 81c4e8143fe..4fa636e1ffa 100644 --- a/apps/remix-ide-e2e/src/tests/matomo.test.ts +++ b/apps/remix-ide-e2e/src/tests/matomo.test.ts @@ -182,6 +182,16 @@ module.exports = { locateStrategy: 'xpath', timeout: 120000 }) + // output the contents of the storage + .execute(function () { + return { + consent: window.localStorage.getItem('matomo-analytics-consent'), + config: window.localStorage.getItem('config-v0.8:.remix.config'), + showMatomo: window.localStorage.getItem('showMatomo') + } + }, [], (res) => { + console.log('res', res) + }) .waitForElementVisible('*[data-id="matomoModalModalDialogModalBody-react"]') .click('[data-id="matomoModal-modal-footer-cancel-react"]') // cancel .waitForElementNotVisible('*[data-id="matomoModalModalDialogModalBody-react"]')