diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 0b8681850..2605abd2f 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -68,7 +68,10 @@ jobs: retention-days: 30 - uses: shallwefootball/s3-upload-action@master - if: always() + # only upload if we have AWS credentials: + env: + HAS_AWS_KEY: ${{ secrets.AWS_S3_SECRET_KEY && '1' || '' }} + if: always() && env.HAS_AWS_KEY == '1' name: Upload S3 id: s3 with: diff --git a/apps/examples/e2e/tests/test-ui.spec.ts b/apps/examples/e2e/tests/test-ui.spec.ts new file mode 100644 index 000000000..8a9fe2b01 --- /dev/null +++ b/apps/examples/e2e/tests/test-ui.spec.ts @@ -0,0 +1,10 @@ +import test from '@playwright/test' +import { setup } from '../shared-e2e' + +test.describe('ui', () => { + test.beforeEach(setup) + + test('mobile style panel opens and closes when tapped', async ({ isMobile }) => { + test.skip(!isMobile, 'only run on mobile') + }) +})