From 80353b04a411b3eb9cce8dec24a1a5b3c8377d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Doreau?= Date: Mon, 24 May 2021 12:03:29 +0200 Subject: [PATCH] feat(cypress): add codeowners + typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Doreau --- .github/CODEOWNERS | 1 + cypress/src/types.d.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fda500ed02..eabf74d67a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -22,3 +22,4 @@ /.changeset/cost-insights-* @backstage/silver-lining /.changeset/search-* @backstage/techdocs-core /.changeset/techdocs-* @backstage/techdocs-core +/cypress/src/integration/plugins/techdocs.spec.ts @backstage/techdocs-core diff --git a/cypress/src/types.d.ts b/cypress/src/types.d.ts index aca18f0b9c..bb4a8f2fc9 100644 --- a/cypress/src/types.d.ts +++ b/cypress/src/types.d.ts @@ -39,32 +39,32 @@ declare namespace Cypress { getTechDocsTableOfContents(): Chainable; /** * Get the TechDocs navigation element - * @example cy.getTechDocsShadowRoot + * @example cy.getTechDocsNavigation */ getTechDocsNavigation(): Chainable; /** * Mock Techdocs CSS - * @example cy.getTechDocsShadowRoot + * @example cy.mockTechDocsCSS */ mockTechDocsCSS(): Chainable; /** * Intercept the TechDocs API calls - * @example cy.getTechDocsShadowRoot + * @example cy.interceptTechDocsAPICalls */ interceptTechDocsAPICalls(): Chainable; /** * Mock SockJS-Node call - * @example cy.getTechDocsShadowRoot + * @example cy.mockSockJSNode */ mockSockJSNode(): Chainable; /** * Wait TechDocs API response for Backstage home page - * @example cy.getTechDocsShadowRoot + * @example cy.waitHomePage */ waitHomePage(): Chainable; /** * Wait TechDocs API response for Backstage rodmap page - * @example cy.getTechDocsShadowRoot + * @example cy.waitRoadmapPage */ waitRoadmapPage(): Chainable; }