From a3577705e3c76ce23df5f9bef57a7cd1a867de95 Mon Sep 17 00:00:00 2001 From: Matt Charlton Date: Wed, 27 Nov 2019 12:15:39 +0000 Subject: [PATCH] change page name --- script/percy-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/percy-tests.js b/script/percy-tests.js index f84ef325..5a964d11 100644 --- a/script/percy-tests.js +++ b/script/percy-tests.js @@ -8,7 +8,7 @@ PercyScript.run(async (page, percySnapshot) => { console.log(categories) }) - const page = await page.evaluate (() => { + const homepage = await page.evaluate (() => { let categories = Array.from(document.querySelectorAll('#categories a')) console.log(categories) console.log('test')