From 3f4eb40392a020fc6ae43252ad31c2fbaf8efc74 Mon Sep 17 00:00:00 2001 From: Robert Sese <734194+rsese@users.noreply.github.com> Date: Tue, 21 Mar 2023 10:18:50 -0500 Subject: [PATCH] add article card playwright tests (#35683) Co-authored-by: Peter Bengtsson --- components/guides/ArticleCards.tsx | 6 +++- tests/browser/browser.js | 30 +------------------ .../code-security/getting-started/index.md | 19 ++++++++++++ .../getting-started/quickstart.md | 15 ++++++++++ .../securing-your-organization.md | 19 ++++++++++++ .../fixtures/content/code-security/guides.md | 18 +++++++++++ tests/fixtures/content/code-security/index.md | 22 ++++++++++++++ tests/fixtures/content/index.md | 2 +- tests/fixtures/data/allowed-topics.js | 1 + .../playwright-rendering.spec.ts | 28 +++++++++++++++++ 10 files changed, 129 insertions(+), 31 deletions(-) create mode 100644 tests/fixtures/content/code-security/getting-started/index.md create mode 100644 tests/fixtures/content/code-security/getting-started/quickstart.md create mode 100644 tests/fixtures/content/code-security/getting-started/securing-your-organization.md create mode 100644 tests/fixtures/content/code-security/guides.md create mode 100644 tests/fixtures/content/code-security/index.md create mode 100644 tests/fixtures/data/allowed-topics.js diff --git a/components/guides/ArticleCards.tsx b/components/guides/ArticleCards.tsx index 3ce7ff169ffd..12469f880057 100644 --- a/components/guides/ArticleCards.tsx +++ b/components/guides/ArticleCards.tsx @@ -132,7 +132,11 @@ export const ArticleCards = () => { -