forked from osmosis-labs/osmosis-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove log * Add automated e2e tests workflow (osmosis-labs#3104) * Add and upload junit and html reports * Add .github/workflows/frontend-e2e-tests.yml * added env with private key * run just 2 tests with 0 retry * timeout to 60 and better connectWallet * run only on master/stage * Split E2E workflow per stage/master branch (osmosis-labs#3197) * Split E2E workflow per stage/master branch * upload just html report for stage * Add transactions link (osmosis-labs#3194) * Mattupham/fe 346 fix table overflow behavior on mobile (osmosis-labs#3189) * Cleanup * clean up rows * add padding * Style updaetes * Clean up transaction columns * Add comment * Fix simulate on edge runtime (osmosis-labs#3195) uses the node Request/Response API * optional logoURIs (osmosis-labs#3200) * log top gainers category (osmosis-labs#3202) * Run E2E tests on Production and Preview deployments (osmosis-labs#3201) * Run tests based on environment name * Swap Amplitude event: use valid number in swap event (osmosis-labs#3204) * use valid number in swap event * log * Update ibc-overrides.ts (osmosis-labs#3203) * Update rows, swap numbers, update sidebar, add notes (osmosis-labs#3199) * Update rows, swap numbers, update sidebar, add notes * Clean up mobile * Fix logoURIs issue * Logo URIs optional * Cleanup * Add dollar sign * Update onload * Clean up * Add font classes * add currency symbol * Flip details slideover * Add en translations * Add translations= * Clean up utils * update text * Translations * Add check for amount and usd * Clean up * Clean up * Add note * use anchor for balances moved banner (osmosis-labs#3192) * QA updates - i18n, pools table header fixes (osmosis-labs#3205) * Updates * Clean up classes * Table header fixes * Fix asset list build: get chain name from first counterparty (IBC) (osmosis-labs#3207) * get chain name from first counterparty (IBC) * check for native * fix asset list * throw clearer error * Added USDT and USDT.axl tests (osmosis-labs#3206) * Added USDT and USDT.axl tests * Added information about workflow to the readme * skip Sidecar — ASTRO <> OSMO test * fix: 🐛 fix circulating supply formatting (osmosis-labs#3210) * feat: add token chart queries by denom (osmosis-labs#3211) * feat: ✨ add token chart queries by denom * chore: 📝 update comment format * Add 1h, 7d price change to assets table (osmosis-labs#3212) * chore: remove repetitive words (osmosis-labs#3208) Signed-off-by: ianlv <[email protected]> * Fix layout (osmosis-labs#3213) * fix z index * fix nav bar * fix z index for mobile nav menu (osmosis-labs#3216) * Assets page: update amplitude events (osmosis-labs#3217) * rename file for easier discoverability * add highlights amplitude events * 24h * logs * Assets page: implement watchlist (osmosis-labs#3214) * rename to watchlist * update turbo * remove custom sort function * add default sort * unify wach list icon in old table * fix pools show more button * style (osmosis-labs#3218) * fix: 🐛 fix twitter search (osmosis-labs#3224) * fix button disabled (osmosis-labs#3222) --------- Signed-off-by: ianlv <[email protected]> Co-authored-by: yakuramori <[email protected]> Co-authored-by: Matt Upham <[email protected]> Co-authored-by: JeremyParish69 <[email protected]> Co-authored-by: Davide Segullo <[email protected]> Co-authored-by: ianlv <[email protected]>
- Loading branch information
1 parent
a98818a
commit cb3aa89
Showing
72 changed files
with
1,111 additions
and
572 deletions.
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,85 @@ | ||
name: Frontend E2E tests Workflow | ||
|
||
on: | ||
deployment_status: | ||
|
||
jobs: | ||
master-e2e-tests: | ||
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Production – osmosis-frontend' | ||
runs-on: macos-latest | ||
environment: | ||
name: prod_swap_test | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
- name: Cache dependencies | ||
uses: actions/cache@v4 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.OS }}-20.x-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.OS }}-20.x- | ||
- name: Install Playwright | ||
run: | | ||
yarn --cwd packages/web install --frozen-lockfile && npx playwright install --with-deps chromium | ||
- name: Run Select Swap Pair tests on Master | ||
env: | ||
BASE_URL: "https://app.osmosis.zone" | ||
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | ||
run: | | ||
cd packages/web | ||
npx playwright test -g "Test Swap feature" | ||
- name: upload test results | ||
if: always() | ||
id: e2e-test-results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: main-e2e-test-results | ||
path: packages/web/playwright-report | ||
- name: upload junit test results | ||
id: e2e-junit-results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: main-e2e-junit-results | ||
path: packages/web/test-results/test-results.xml | ||
|
||
preview-e2e-tests: | ||
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Preview – osmosis-frontend' | ||
runs-on: macos-latest | ||
environment: | ||
name: prod_swap_test | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
- name: Cache dependencies | ||
uses: actions/cache@v4 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.OS }}-20.x-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.OS }}-20.x- | ||
- name: Install Playwright | ||
run: | | ||
yarn --cwd packages/web install --frozen-lockfile && npx playwright install --with-deps chromium | ||
- name: Run Select Swap Pair tests on Stage | ||
env: | ||
BASE_URL: ${{ github.event.deployment_status.environment_url }} | ||
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | ||
run: | | ||
cd packages/web | ||
npx playwright test -g "Test Swap feature" | ||
- name: upload test results | ||
if: always() | ||
id: e2e-test-results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: preview-e2e-test-results | ||
path: packages/web/playwright-report |
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 |
---|---|---|
|
@@ -69,7 +69,7 @@ | |
"pre-commit": "^1.2.2", | ||
"prettier": "^2.8.8", | ||
"ts-jest": "^29.1.2", | ||
"turbo": "^1.13.0", | ||
"turbo": "^1.13.3", | ||
"typescript": "5.4.3" | ||
}, | ||
"packageManager": "[email protected]", | ||
|
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
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.