Skip to content

Commit

Permalink
Switch to CI org for e2e tests (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole White authored Aug 22, 2023
1 parent ccbe6ed commit 2f73a94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- name: Run e2e tests
run: npm run test:e2e
env:
AUTOBLOCKS_API_KEY: ${{ secrets.DEMO_AUTOBLOCKS_API_KEY }}
AUTOBLOCKS_INGESTION_KEY: ${{ secrets.DEMO_AUTOBLOCKS_INGESTION_KEY }}
AUTOBLOCKS_API_KEY: ${{ secrets.CI_AUTOBLOCKS_API_KEY }}
AUTOBLOCKS_INGESTION_KEY: ${{ secrets.CI_AUTOBLOCKS_INGESTION_KEY }}

- name: Run build
run: npm run build
4 changes: 2 additions & 2 deletions e2e/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { SystemEventFilterKey } from '../src/client';

const { AUTOBLOCKS_API_KEY, AUTOBLOCKS_INGESTION_KEY } = process.env;

// We've created a view in our demo org to be used in CI tests.
// We've created a view in our CI org to be used in CI tests.
// It has one filter, message == 'sdk.e2e', and its timespan is "last 1 hour"
const E2E_TESTS_VIEW_ID = 'cllh1o6bz0001jr08kocrn1fw';
const E2E_TESTS_VIEW_ID = 'cllmlk8py0003l608vd83dc03';
const E2E_TESTS_EXPECTED_MESSAGE = 'sdk.e2e';

const sleep = (seconds: number) =>
Expand Down

0 comments on commit 2f73a94

Please sign in to comment.