Skip to content

Merge pull request #19 from hudl/notick-addnewactionrunnumber #79

Merge pull request #19 from hudl/notick-addnewactionrunnumber

Merge pull request #19 from hudl/notick-addnewactionrunnumber #79

GitHub Actions / Workflow Report succeeded Nov 11, 2024 in 1s

36 passed, 4 failed and 20 skipped

Tests failed

❌ playwright-report.xml

60 tests were completed in 59s with 36 passed, 4 failed and 20 skipped.

Test suite Passed Failed Skipped Time
auth.setup.ts 6✅ 7s
tests/analyze/load-video.spec.ts 3⚪ 0ms
tests/analyze/seamless-video-playback.spec.ts 9⚪ 12ms
tests/app.spec.ts 1⚪ 0ms
tests/grid.spec.ts 18✅ 4❌ 3⚪ 116s
tests/onboarding.spec.ts 4⚪ 0ms
tests/statsEngine.spec.ts 12✅ 36s

✅ auth.setup.ts

✅ authenticate as classic admin
✅ authenticate as basketball admin
✅ authenticate as wrestling admin
✅ authenticate as onboarding admin 1
✅ authenticate as onboarding admin 3
✅ authenticate as coachAdmin

✅ tests/analyze/load-video.spec.ts

✅ tests/analyze/seamless-video-playback.spec.ts

✅ tests/app.spec.ts

❌ tests/grid.spec.ts

✅ Grid › Mobile Web › Athlete › should not be able to edit data
✅ Grid › Mobile Web › Admin or Coach › should be able to edit data
✅ Grid › Field Sets › should update displayed grid columns after editing
✅ Grid › Basketball Navigation Module › should display correct moment data when filtered by Scout team Points
✅ Grid › Basketball Navigation Module › should display correct moment data when filtered by Opponent Rebounds
✅ Grid › Basketball Navigation Module › should display correct moment data when filtered by Steals
✅ Grid › Basketball Navigation Module › should display correct moment data when filtered by Rebounds
✅ Grid › Basketball Navigation Module › should display clips for opportunities in Period when filtered by Period
✅ Grid › Basketball Navigation Module › should display clips for opportunities that end in a turnover when filtered by Turnovers
✅ Grid › Basketball Navigation Module › should display correct moment data when filtered by 3FG Attempts
❌ Grid › Column Sorting › AmFb Column Sets › should display correct data when sorting by OFF FORM column
	[chrome] › tests/grid.spec.ts:202:11 › Grid › Column Sorting › AmFb Column Sets › should display correct data when sorting by OFF FORM column › Sort grid by OFF FORM in ascending order
❌ Grid › Data Entry › should open select dropdown options when pressing Spacebar in grid cell
	[chrome] › tests/grid.spec.ts:254:9 › Grid › Data Entry › should open select dropdown options when pressing Spacebar in grid cell › double click into column OFF FORM clip number 3
❌ Grid › Data Entry › should be able to use keyboard to navigate horizontal grid and enter data
	[chrome] › tests/grid.spec.ts:261:9 › Grid › Data Entry › should be able to use keyboard to navigate horizontal grid and enter data › double click into column OFF FORM clip number 3
❌ Grid › Data Entry › should be able to use keyboard to navigate vertical grid and enter data
	[chrome] › tests/grid.spec.ts:277:9 › Grid › Data Entry › should be able to use keyboard to navigate vertical grid and enter data › Select BUNCH from column OFF FORM list
✅ Grid › Data Entry › should display error state for input with invalid data
✅ Grid › Data Entry › confirm auto-fill works correctly
✅ Grid › Tagged data › Wrestling › should display correct wrestler names tagged from Assist
✅ Grid › Tagged data › Wrestling › should display correct score and points tagged from Assist
✅ Grid › Tagged data › Wrestling › should display correct Period tagged from Assist
✅ Grid › Tagged data › Wrestling › should display correct Key Moments tagged from Assist
✅ Grid › Tagged data › Wrestling › should edit cells using the team roster
✅ Grid › Tagged data › Wrestling › should change key moment type and update grid data

✅ tests/onboarding.spec.ts

✅ tests/statsEngine.spec.ts

✅ Mock stats engine for speed › Filter by Offense in Phase card
✅ Mock stats engine for speed › Filter by defense in phase card
✅ Mock stats engine for speed › Key stats card stats appear as expected when opponent is selected
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - FG percentage for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - 2FG Makes for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - 2FG Attempts for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - 3FG Makes for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - 3FG Attempts for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - Off. Rebounds for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - Def. Rebounds for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - Assists for Team in Context
✅ Mock stats engine for speed › Selecting a Key Stats filter updates both the Navigation Module and Insights Module cards - Steal for Team in Context

Annotations

Check failure on line 0 in playwright-report.xml

See this annotation in the file changed.

@github-actions github-actions / Workflow Report

tests/grid.spec.ts ► Grid › Column Sorting › AmFb Column Sets › should display correct data when sorting by OFF FORM column

Failed test found in:
  playwright-report.xml
Error:
    [chrome] › tests/grid.spec.ts:202:11 › Grid › Column Sorting › AmFb Column Sets › should display correct data when sorting by OFF FORM column › Sort grid by OFF FORM in ascending order 
Raw output
  [chrome] › tests/grid.spec.ts:202:11 › Grid › Column Sorting › AmFb Column Sets › should display correct data when sorting by OFF FORM column › Sort grid by OFF FORM in ascending order 

    Test timeout of 10000ms exceeded.

    Error: locator.click: Target closed
    =========================== logs ===========================
    waiting for locator('[data-qa-id^="column-header-OFF FORM-"]')
    ============================================================

       at ../../../packages/playwright-shared/src/models/locators/table.locator.ts:12

      10 |     const expectedColumnSort = this.locator.filter({ has: this.page.locator(`[data-qa-id*='${sortOrder}']`) });
      11 |     do {
    > 12 |       await this.locator.click();
         |                          ^
      13 |     } while (!expectedColumnSort.isVisible());
      14 |   }
      15 | }

        at TableLocator.sortColumnBy (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/packages/playwright-shared/src/models/locators/table.locator.ts:12:26)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:30:52
        at GridActions.sortColumn (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:28:16)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/grid.spec.ts:205:27

    Pending operations:
      - locator.click at ../../packages/playwright-shared/src/models/locators/table.locator.ts:12:26


    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Column-Sorting-AmFb-Column-Set-8f487-ay-correct-data-when-sorting-by-OFF-FORM-column-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Column-Sorting-AmFb-Column-Set-8f487-ay-correct-data-when-sorting-by-OFF-FORM-column-chrome/trace.zip
    Usage:

        npx playwright show-trace playwright/test-results/tests-grid-Grid-Column-Sorting-AmFb-Column-Set-8f487-ay-correct-data-when-sorting-by-OFF-FORM-column-chrome/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in playwright-report.xml

See this annotation in the file changed.

@github-actions github-actions / Workflow Report

tests/grid.spec.ts ► Grid › Data Entry › should open select dropdown options when pressing Spacebar in grid cell

Failed test found in:
  playwright-report.xml
Error:
    [chrome] › tests/grid.spec.ts:254:9 › Grid › Data Entry › should open select dropdown options when pressing Spacebar in grid cell › double click into column OFF FORM clip number 3 
Raw output
  [chrome] › tests/grid.spec.ts:254:9 › Grid › Data Entry › should open select dropdown options when pressing Spacebar in grid cell › double click into column OFF FORM clip number 3 

    Test timeout of 10000ms exceeded.

    Error: locator.dblclick: Target closed
    =========================== logs ===========================
    waiting for locator('div[data-qa-id=\'OFF FORM-column-3\']')
    ============================================================

       at ../../../packages/playwright-shared/src/models/locators/base/base.locator.ts:17

      15 |
      16 |   async doubleClick() {
    > 17 |     await this.locator.dblclick();
         |                        ^
      18 |   }
      19 |
      20 |   async getText() {

        at TextInputLocator.doubleClick (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/packages/playwright-shared/src/models/locators/base/base.locator.ts:17:24)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:48:63
        at GridActions.doubleClickIntoGridColumn (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:47:16)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/grid.spec.ts:256:25

    Pending operations:
      - locator.dblclick at ../../packages/playwright-shared/src/models/locators/base/base.locator.ts:17:24


    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Data-Entry-should-open-select-dropdown-options-when-pressing-Spacebar-in-grid-cell-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Data-Entry-should-open-select-dropdown-options-when-pressing-Spacebar-in-grid-cell-chrome/trace.zip
    Usage:

        npx playwright show-trace playwright/test-results/tests-grid-Grid-Data-Entry-should-open-select-dropdown-options-when-pressing-Spacebar-in-grid-cell-chrome/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in playwright-report.xml

See this annotation in the file changed.

@github-actions github-actions / Workflow Report

tests/grid.spec.ts ► Grid › Data Entry › should be able to use keyboard to navigate horizontal grid and enter data

Failed test found in:
  playwright-report.xml
Error:
    [chrome] › tests/grid.spec.ts:261:9 › Grid › Data Entry › should be able to use keyboard to navigate horizontal grid and enter data › double click into column OFF FORM clip number 3 
Raw output
  [chrome] › tests/grid.spec.ts:261:9 › Grid › Data Entry › should be able to use keyboard to navigate horizontal grid and enter data › double click into column OFF FORM clip number 3 

    Test timeout of 10000ms exceeded.

    Error: locator.dblclick: Target closed
    =========================== logs ===========================
    waiting for locator('div[data-qa-id=\'OFF FORM-column-3\']')
    ============================================================

       at ../../../packages/playwright-shared/src/models/locators/base/base.locator.ts:17

      15 |
      16 |   async doubleClick() {
    > 17 |     await this.locator.dblclick();
         |                        ^
      18 |   }
      19 |
      20 |   async getText() {

        at TextInputLocator.doubleClick (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/packages/playwright-shared/src/models/locators/base/base.locator.ts:17:24)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:48:63
        at GridActions.doubleClickIntoGridColumn (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:47:16)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/grid.spec.ts:263:25

    Pending operations:
      - locator.dblclick at ../../packages/playwright-shared/src/models/locators/base/base.locator.ts:17:24


    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Data-Entry-should-be-able-to-use-keyboard-to-navigate-horizontal-grid-and-enter-data-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Data-Entry-should-be-able-to-use-keyboard-to-navigate-horizontal-grid-and-enter-data-chrome/trace.zip
    Usage:

        npx playwright show-trace playwright/test-results/tests-grid-Grid-Data-Entry-should-be-able-to-use-keyboard-to-navigate-horizontal-grid-and-enter-data-chrome/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in playwright-report.xml

See this annotation in the file changed.

@github-actions github-actions / Workflow Report

tests/grid.spec.ts ► Grid › Data Entry › should be able to use keyboard to navigate vertical grid and enter data

Failed test found in:
  playwright-report.xml
Error:
    [chrome] › tests/grid.spec.ts:277:9 › Grid › Data Entry › should be able to use keyboard to navigate vertical grid and enter data › Select BUNCH from column OFF FORM list 
Raw output
  [chrome] › tests/grid.spec.ts:277:9 › Grid › Data Entry › should be able to use keyboard to navigate vertical grid and enter data › Select BUNCH from column OFF FORM list 

    Test timeout of 10000ms exceeded.

    Error: locator.click: Target closed
    =========================== logs ===========================
    waiting for locator('[data-qa-id="clip-edit-field-OFF FORM"]')
    ============================================================

       at ../../../packages/playwright-shared/src/models/locators/base/base.locator.ts:13

      11 |
      12 |   async click(force: boolean = false) {
    > 13 |     await this.locator.click({ force });
         |                        ^
      14 |   }
      15 |
      16 |   async doubleClick() {

        at SelectLocator.click (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/packages/playwright-shared/src/models/locators/base/base.locator.ts:13:24)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:93:58
        at GridActions.enterGridSelectValue (/Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/models/actions/grid.actions.ts:92:16)
        at /Users/connor.vidlock/Documents/GitHub/hudl-frontends/apps/watch/playwright/tests/grid.spec.ts:279:25

    Pending operations:
      - locator.click at ../../packages/playwright-shared/src/models/locators/base/base.locator.ts:13:24


    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Data-Entry-should-be-able-to-use-keyboard-to-navigate-vertical-grid-and-enter-data-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    playwright/test-results/tests-grid-Grid-Data-Entry-should-be-able-to-use-keyboard-to-navigate-vertical-grid-and-enter-data-chrome/trace.zip
    Usage:

        npx playwright show-trace playwright/test-results/tests-grid-Grid-Data-Entry-should-be-able-to-use-keyboard-to-navigate-vertical-grid-and-enter-data-chrome/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────