diff --git a/.github/workflows/sdk-e2e.yml b/.github/workflows/sdk-e2e.yml index 3e30d96..519c0c0 100644 --- a/.github/workflows/sdk-e2e.yml +++ b/.github/workflows/sdk-e2e.yml @@ -234,6 +234,12 @@ jobs: VIZZLY_COMMIT_MESSAGE: ${{ github.event.pull_request.head.commit.message || github.event.head_commit.message }} VIZZLY_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.head_commit.id }} + - name: Upload preview + working-directory: ./clients/static-site + run: ../../bin/vizzly.js preview ../../test-site + env: + VIZZLY_TOKEN: ${{ secrets.VIZZLY_STATIC_SITE_CLIENT_TOKEN }} + # Ember SDK ember: name: Ember SDK diff --git a/clients/static-site/tests/e2e.test.js b/clients/static-site/tests/e2e.test.js index 7ee200a..b78c1ef 100644 --- a/clients/static-site/tests/e2e.test.js +++ b/clients/static-site/tests/e2e.test.js @@ -326,9 +326,9 @@ describe('Static-Site E2E with shared test-site', { skip: !runE2E }, () => { pool = createTabPool(browser, 2); let pages = [ - { path: '/index.html', source: 'html' }, - { path: '/features.html', source: 'html' }, - { path: '/pricing.html', source: 'html' }, + { path: '/', source: 'html' }, + { path: '/features', source: 'html' }, + { path: '/pricing', source: 'html' }, ]; let config = {