Skip to content

Commit 9d055f8

Browse files
authored
test: add agenda-neue cypress tests (ietf-tools#4293)
* fix: move vue app to parent dir * test: prepare vue for cypress testing * test: add basic cypress test for vue app * test: add agenda-neue header tests * test: meeting generator for cypress tests (wip) * test: agenda-neue meeting nav + settings button * test: agenda-neue check settings button position against viewport size * test: agenda-neue fix viewport + add schedule list header tests * test: agenda-neue timezone tests + future meeting template * test: agenda-neue add test floor plan image fixtures * test: floor-plan-neue - handle floor plan images * test: floor-plan-neue room selection + pin drop tests * test: floor-plan-neue - test all viewports * test: floor-plan-neue add missing header tests * test: agenda-neue - generate areas + groups * test: agenda-neue - test filter areas + groups dialog * test: agenda-neue code cleanup + generate schedule (wip) * test: agenda-neue - generate schedule (wip) * test: agenda-neue - generate schedule + test settings dialog (wip) * test: agenda-neue - settings timezone controls * test: agenda-neue - settings toggles + agenda table headers tests * test: agenda-neue - table events + memory fixes * test - agenda-neue - table events remaining columns tests * test: agenda-neue - meeting materials dialog + future schedule list table buttons * test: agenda-neue - remove skips * test: agenda-neue - search * test: agenda-neue - remove skips * test: agenda-neue - use random seed for deterministic results * test: agenda-neue - set constant clock * test: add percy to cypress + upgrade cypress * test: agenda-neue - jump to day tests * test: agenda-neue - add to calendar tests * test: agenda-neue - add pick sessions tests * test: agenda-neue - calendar view tests * test: agenda-neue - color assignment tests * test: agenda-neue - skip test not supported in firefox/safari * test: agenda-neue - live sessions tests * test: agenda-neue - smaller screens tests * chore: update workflows to handle modern + legacy cypress tests * test: fix legacy agenda weekview test + cypress legacy config
1 parent baf67d1 commit 9d055f8

115 files changed

Lines changed: 25295 additions & 933 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ indent_size = 2
3131
[client/**]
3232
indent_size = 2
3333

34+
[dev/**.js]
35+
indent_size = 2
36+
3437
[{package.json,.eslintrc.js,.yarnrc.yml,vite.config.js,cypress.config.js}]
3538
indent_size = 2
3639

.github/workflows/build.yml

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,31 @@ jobs:
160160
name: coverage
161161
path: coverage.json
162162

163-
tests-cypress:
164-
name: Run Tests (Cypress)
163+
tests-cypress-modern:
164+
name: Run Tests (Cypress - Modern)
165+
if: ${{ github.event.inputs.skiptests == 'false' }}
166+
needs: [prepare]
167+
runs-on: ubuntu-latest
168+
169+
steps:
170+
- uses: actions/checkout@v3
171+
172+
- name: Run all tests
173+
run: |
174+
echo "Installing dependencies..."
175+
yarn
176+
echo "Running tests..."
177+
yarn cypress
178+
179+
- name: Upload Video Recordings
180+
uses: actions/upload-artifact@v3.0.0
181+
if: ${{ always() }}
182+
with:
183+
name: videos-modern
184+
path: cypress/videos/
185+
186+
tests-cypress-legacy:
187+
name: Run Tests (Cypress - Legacy)
165188
if: ${{ github.event.inputs.skiptests == 'false' }}
166189
needs: [prepare]
167190
runs-on: ubuntu-latest
@@ -202,13 +225,13 @@ jobs:
202225
- name: Run all tests
203226
run: |
204227
echo "Running tests..."
205-
yarn cypress
228+
yarn cypress:legacy
206229
207230
- name: Upload Video Recordings
208231
uses: actions/upload-artifact@v3.0.0
209232
if: ${{ always() }}
210233
with:
211-
name: videos
234+
name: videos-legacy
212235
path: cypress/videos/
213236

214237
# -----------------------------------------------------------------
@@ -217,7 +240,7 @@ jobs:
217240
release:
218241
name: Make Release
219242
if: ${{ always() }}
220-
needs: [tests-python, tests-cypress, prepare]
243+
needs: [tests-python, tests-cypress-modern, tests-cypress-legacy, prepare]
221244
runs-on: ubuntu-latest
222245
env:
223246
SHOULD_DEPLOY: ${{needs.prepare.outputs.should_deploy}}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ datatracker.sublime-workspace
1111
/.settings
1212
/.tmp
1313
/.vite
14+
/client/dist
1415
/data
1516
/dist
1617
/docker/docker-compose.extend-custom.yml

0 commit comments

Comments
 (0)