Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(track): performance improvements #988

Merged
merged 40 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3e0d8b9
feat: playwright
etowahadams Oct 27, 2023
c1284cf
feat: basic perf test
etowahadams Oct 27, 2023
eed8ed4
feat: onTrackTilesReceived and onTrackTilesProcess
etowahadams Oct 31, 2023
7210083
feat: working spec change
etowahadams Nov 1, 2023
d8920b8
feat: visual polling
etowahadams Nov 2, 2023
5a6687f
fix: remove new subscriptions
etowahadams Nov 3, 2023
510154d
feat: zoom
etowahadams Nov 4, 2023
03c8a7c
chore: change test scope to exclude e2e
etowahadams Nov 7, 2023
476d8a1
feat: calculate start and end
etowahadams Nov 7, 2023
3a0a717
chore: store resolvedTracks
etowahadams Nov 7, 2023
b5421a6
chore: add comments
etowahadams Nov 7, 2023
b6632c0
chore: reformat package json
etowahadams Nov 7, 2023
a1ca74e
chore: rename files
etowahadams Nov 7, 2023
92b7e81
refactor: move functions to utils
etowahadams Nov 7, 2023
a5a1d33
feat: e2e command
etowahadams Nov 7, 2023
1c75fa1
test: see why playwright CI is breaking
etowahadams Nov 8, 2023
1c158f5
fix: change wait time
etowahadams Nov 8, 2023
95fb229
fix: change time
etowahadams Nov 8, 2023
3a9ddd3
fix: try screenshot
etowahadams Nov 8, 2023
6660947
test: print img sizes
etowahadams Nov 16, 2023
a220225
test: print viewport size
etowahadams Nov 16, 2023
25eb75d
test: print diff
etowahadams Nov 16, 2023
8417a28
test: attach screenshot
etowahadams Nov 16, 2023
b921f67
test: replace test img
etowahadams Nov 16, 2023
dd15994
test: extend test time
etowahadams Nov 16, 2023
ec215c0
test: adjust time
etowahadams Nov 16, 2023
28a4661
test: increase time
etowahadams Nov 16, 2023
620a507
test: screenshots of json specs
etowahadams Nov 17, 2023
34ca768
test: update snapshots
etowahadams Nov 21, 2023
29afd10
fix: update node version
etowahadams Nov 21, 2023
6719b2d
fix: indenting
etowahadams Nov 21, 2023
27d1ced
test: workflow
etowahadams Nov 21, 2023
a8c040f
fix: on
etowahadams Nov 21, 2023
dc2bec3
fix: job
etowahadams Nov 21, 2023
769a4b4
test: workflow
etowahadams Nov 21, 2023
6e647e8
fix: update-snapshots
etowahadams Nov 21, 2023
80f86ae
fix: shorten
etowahadams Nov 21, 2023
7c3e06c
fix: remove snapshot matching
etowahadams Nov 22, 2023
391c4d0
fix: update resolved track when options changed
etowahadams Dec 4, 2023
3a3bc35
test: attach screenshot to test
etowahadams Dec 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps chromium
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Playwright Tests 2
on:
issue_comment:
types: [created]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ report.*
*.swp
*.swo
*~
/test-results/
/playwright-report/
/playwright/.cache/
Binary file added e2e/assets/example-spec-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading