From 76d49d0e867bc97adaa59192571ed899ee4fceea Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Thu, 22 Jul 2021 17:14:49 -0400 Subject: [PATCH] Fix integration tests for Color page **Why**: The URL changed from `/color/` to `/utilities/color/` in #233. This updates the integration test accordingly, so that it doesn't fail. --- test/color.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/color.test.js b/test/color.test.js index 0a4e4c1e..8345b739 100644 --- a/test/color.test.js +++ b/test/color.test.js @@ -7,7 +7,7 @@ const rgb2hex = (rgb) => { }; test('hex codes match background color on the color documentation page', async () => { - await page.goto(`${host}/color/`); + await page.goto(`${host}/utilities/color/`); const colors = await page.$$eval("[data-test='color-swatch']", (els) => [...els].map((el) => { const text = el.innerText.trim();