diff --git a/packages/alfa-selenium/test/selenium.spec.ts b/packages/alfa-selenium/test/selenium.spec.ts index 38d11274..54da16c3 100644 --- a/packages/alfa-selenium/test/selenium.spec.ts +++ b/packages/alfa-selenium/test/selenium.spec.ts @@ -18,10 +18,10 @@ const __dirname = path.dirname(__filename); const fixture = path.join(__dirname, "fixture"); -let driver: WebDriver | undefined; + let driver: WebDriver | undefined; -const options = new chrome.Options(); -options.addArguments("--headless", "--no-sandbox", "--disable-dev-shm-usage"); + const options = new chrome.Options(); + options.addArguments("--headless", "--no-sandbox", "--disable-dev-shm-usage"); test("Selenium.toPage() scrapes a page", async (t) => { driver = await new Builder() diff --git a/packages/alfa-test-utils/docs/usage/reporting/basic.md b/packages/alfa-test-utils/docs/usage/reporting/basic.md index 606256d5..1cf8c536 100644 --- a/packages/alfa-test-utils/docs/usage/reporting/basic.md +++ b/packages/alfa-test-utils/docs/usage/reporting/basic.md @@ -25,16 +25,16 @@ This returns a URL to a Siteimprove Intelligence Platform page report showing th ## Pretty printing results in the console -Use the `Logging.result` function to pretty print results. If a Page Report URL was generated by the [upload](#uploading-results-to-the-siteimprove-intelligence-platform) step, it can be passed to it in order to provide direct links to each of the issues. +Use the `Logging.fromAudit(alfaResult).print()` function to pretty print results. If a Page Report URL was generated by the [upload](#uploading-results-to-the-siteimprove-intelligence-platform) step, it can be passed to it in order to provide direct links to each of the issues. ```typescript import { Logging } from "@siteimprove/alfa-test-utils"; // Log results, with links to individual issues in the Page Report. -Logging.from(alfaResult, pageReportURL).print(); +Logging.fromAudit(alfaResult, pageReportURL).print(); // Simply log an overview of the results and number of issues per rule. -Logging.from(alfaResult).print(); +Logging.fromAudit(alfaResult).print(); ``` ## Cypress