From 9ed666a475a28ef94da46769001cd5dfaac56397 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Thu, 14 Apr 2022 09:30:38 +0530 Subject: [PATCH] Add app-store tests (#2465) Co-authored-by: Bailey Pumfleet Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .github/workflows/e2e.yml | 2 +- apps/web/components/App.tsx | 6 +++- apps/web/components/apps/AppCard.tsx | 1 + apps/web/components/apps/Categories.tsx | 4 ++- apps/web/playwright/app-store.test.ts | 46 +++++++++++++++++++++++++ packages/app-store/components.tsx | 1 + 6 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 apps/web/playwright/app-store.test.ts diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1441aa26..be1360f6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,7 +7,7 @@ on: - public/static/locales/** jobs: test: - timeout-minutes: 10 + timeout-minutes: 15 name: Testing ${{ matrix.node }} and ${{ matrix.os }} strategy: matrix: diff --git a/apps/web/components/App.tsx b/apps/web/components/App.tsx index 627dbb09..7b6b816b 100644 --- a/apps/web/components/App.tsx +++ b/apps/web/components/App.tsx @@ -90,7 +90,11 @@ export default function App({ ) : ( } + render={(buttonProps) => ( + + )} /> )} {price !== 0 && ( diff --git a/apps/web/components/apps/AppCard.tsx b/apps/web/components/apps/AppCard.tsx index f50ea3b8..2549b5e4 100644 --- a/apps/web/components/apps/AppCard.tsx +++ b/apps/web/components/apps/AppCard.tsx @@ -20,6 +20,7 @@ export default function AppCard(props: AppCardProps) {
{props.name