This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
E2E tests #640
Open
whilefoo
wants to merge
18
commits into
ubiquity:development
Choose a base branch
from
ubiquity-whilefoo:e2e-tests
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,738
−1,680
Open
E2E tests #640
Changes from 16 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
92b5b86
feat: e2e test setup
whilefoo fe36b25
feat: add more tests
whilefoo 78bb917
fix: ignore kebab-case in tests
whilefoo b3081cf
feat: added tests
whilefoo db1850f
Merge remote-tracking branch 'upstream/development' into e2e-tests
whilefoo 8fb1bce
feat: more tests
whilefoo 2639a8f
feat: rate limit
whilefoo fc7cdf0
feat: longer timeout
whilefoo 064cdc0
Merge remote-tracking branch 'upstream/development' into e2e-tests
whilefoo 794f793
Merge remote-tracking branch 'upstream/development' into e2e-tests
whilefoo 51bc95f
feat: update tests
whilefoo 5e14775
Merge remote-tracking branch 'upstream/development' into e2e-tests
whilefoo 29e2cb4
fix: types
whilefoo cc89117
feat: workflow
whilefoo 308b6c2
Merge remote-tracking branch 'upstream/development' into e2e-tests
whilefoo 8ba4743
feat: longer delays
whilefoo 56e4427
feat: update workflow
whilefoo 31be5c6
Merge remote-tracking branch 'upstream/development' into e2e-tests
whilefoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
on: | ||
- workflow_dispatch | ||
- push | ||
|
||
jobs: | ||
e2e-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18.16.0" | ||
|
||
- name: Install | ||
run: yarn install | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Test | ||
env: | ||
LOG_ENVIRONMENT: "production" | ||
SUPABASE_URL: ${{ secrets.SUPABASE_URL }} | ||
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }} | ||
X25519_PRIVATE_KEY: "QCDb30UHUkwJAGhLWC-R2N0PiEbd4vQY6qH2Wloybyo" | ||
APP_ID: ${{ secrets.APP_ID }} | ||
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | ||
WEBHOOK_PROXY_URL: ${{ secrets.WEBHOOK_PROXY_URL }} | ||
WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }} | ||
TEST_REPO: ${{ secrets.TEST_REPO }} | ||
TEST_ORGANIZATION: ${{ secrets.TEST_ORGANIZATION }} | ||
TEST_ADMIN_PAT: ${{ secrets.TEST_ADMIN_PAT }} | ||
TEST_OUTSIDE_COLLABORATOR_PAT: ${{ secrets.TEST_OUTSIDE_COLLABORATOR_PAT }} | ||
run: "yarn test:e2e" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ jobs: | |
"^\.\/build" | ||
"^\.\/vendor" | ||
"^\.\/\.next" | ||
"^\.\/tests" | ||
"\.sql$" | ||
"\.md$" | ||
"\.d.ts$" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"rootDir": "lib/", | ||
"maxConcurrency": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be exposed? Not sure exactly what it is used for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's okay, it must be the same because the test's config wallet private key in encrypted with this private key