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

Flask-side refactors #791

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
make specific workflow for dev server tests
CodyCBakerPhD authored May 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 60e3409a2aec95db587d033c21c36653eb24b061
92 changes: 92 additions & 0 deletions .github/workflows/flask_dev_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Flask Dev Tests
on:
schedule:
- cron: "0 17 * * *" # Daily at 1pm EST
pull_request:
workflow_dispatch:

# Cancel previous workflows on the same pull request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
CACHE_NUMBER: 1 # increase to reset cache manually

jobs:
testing:
name: ${{ matrix.os }} # Will read on the dashboard as 'Flask Dev Tests / {os}'
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}

strategy:
fail-fast: false
matrix:
include:
# current linux installation instructions use dev mode instead of distributable
# - python-version: "3.9"
# os: ubuntu-latest
# label: environments/environment-Linux.yml
# prefix: /usr/share/miniconda3/envs/nwb-guide

- python-version: "3.9"
os: macos-latest # Mac arm64 runner
label: environments/environment-MAC-apple-silicon.yml
prefix: /Users/runner/miniconda3/envs/nwb-guide

- python-version: "3.9"
os: macos-13 # Mac x64 runner
label: environments/environment-MAC-intel.yml
prefix: /Users/runner/miniconda3/envs/nwb-guide

- python-version: "3.9"
os: windows-latest
label: environments/environment-Windows.yml
prefix: C:\Miniconda3\envs\nwb-guide

steps:
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow --tags

- name: Printout architecture
run: uname -m

# see https://github.com/conda-incubator/setup-miniconda#caching-environments
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: nwb-guide
use-mamba: true

- name: Set cache date
id: get-date
run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
shell: bash

- name: Cache Mamba env
uses: actions/cache@v4
with:
path: ${{ env.CONDA }}/envs
key:
conda-${{ runner.os }}-${{ runner.arch }}-${{steps.get-date.outputs.today }}-${{ hashFiles(matrix.label) }}-${{ env.CACHE_NUMBER }}
env:
CACHE_NUMBER: ${{ env.CACHE_NUMBER }}
id: cache

- if: steps.cache.outputs.cache-hit != 'true'
name: Update environment
run: mamba env update -f ${{ matrix.label }}

- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: "20"

- run: npm ci --verbose

- name: Run Python tests on local dev mode
run: npm run test:server

Unchanged files with check annotations Beta

if (existsSync(pathToScreenshot)) return console.error(`Screenshot already exists: ${pathToScreenshot}`)
await references.page.screenshot({ path: pathToScreenshot, ...options });

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify data formats

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:141:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review metadata

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:356:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review Neurosift visualization

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:433:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the conversion results

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:438:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Ensure there is one completed pipeline

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/tutorial.test.ts:85:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify data formats

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:141:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review metadata

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:356:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review Neurosift visualization

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:433:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the conversion results

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:438:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Ensure there is one completed pipeline

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/tutorial.test.ts:85:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify data formats

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:141:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review metadata

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:356:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review Neurosift visualization

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:433:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the conversion results

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:438:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Ensure there is one completed pipeline

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/tutorial.test.ts:85:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify data formats

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:141:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review metadata

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:356:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review Neurosift visualization

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:433:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the conversion results

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:438:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Ensure there is one completed pipeline

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/tutorial.test.ts:85:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify data formats

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:141:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review metadata

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:356:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review Neurosift visualization

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:433:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the conversion results

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:438:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Ensure there is one completed pipeline

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/tutorial.test.ts:85:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify data formats

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:141:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review metadata

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:356:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review Neurosift visualization

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:433:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the conversion results

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/workflow.ts:438:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 40 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Ensure there is one completed pipeline

TargetCloseError: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ CdpPage.bringToFront node_modules/puppeteer-core/src/cdp/Page.ts:944:37 ❯ CdpPage.screenshot node_modules/puppeteer-core/src/api/Page.ts:2475:16 ❯ CdpPage.<anonymous> node_modules/puppeteer-core/src/util/decorators.ts:137:27 ❯ Module.takeScreenshot tests/e2e/utils.ts:40:5 ❯ tests/e2e/tutorial.test.ts:85:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }
}
export const evaluate = async (...args) => await references.page.evaluate(...args)

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the pre-form workflow page

TargetCloseError: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ ExecutionContext.#evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:282:44 ❯ ExecutionContext.evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:157:12 ❯ IsolatedWorld.evaluate node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:143:12 ❯ CdpFrame.evaluate node_modules/puppeteer-core/src/api/Frame.ts:478:12 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:12 ❯ Module.evaluate tests/e2e/utils.ts:43:46 ❯ tests/e2e/workflow.ts:120:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify source data information

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:322:13

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review NWB Inspector output

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:414:11

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the pre-form workflow page

TargetCloseError: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ ExecutionContext.#evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:282:44 ❯ ExecutionContext.evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:157:12 ❯ IsolatedWorld.evaluate node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:143:12 ❯ CdpFrame.evaluate node_modules/puppeteer-core/src/api/Frame.ts:478:12 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:12 ❯ Module.evaluate tests/e2e/utils.ts:43:46 ❯ tests/e2e/workflow.ts:120:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify source data information

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:322:13

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review NWB Inspector output

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:414:11

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the pre-form workflow page

TargetCloseError: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ ExecutionContext.#evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:282:44 ❯ ExecutionContext.evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:157:12 ❯ IsolatedWorld.evaluate node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:143:12 ❯ CdpFrame.evaluate node_modules/puppeteer-core/src/api/Frame.ts:478:12 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:12 ❯ Module.evaluate tests/e2e/utils.ts:43:46 ❯ tests/e2e/workflow.ts:120:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify source data information

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:322:13

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review NWB Inspector output

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:414:11

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the pre-form workflow page

TargetCloseError: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ ExecutionContext.#evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:282:44 ❯ ExecutionContext.evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:157:12 ❯ IsolatedWorld.evaluate node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:143:12 ❯ CdpFrame.evaluate node_modules/puppeteer-core/src/api/Frame.ts:478:12 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:12 ❯ Module.evaluate tests/e2e/utils.ts:43:46 ❯ tests/e2e/workflow.ts:120:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify source data information

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:322:13

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review NWB Inspector output

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:414:11

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the pre-form workflow page

TargetCloseError: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ ExecutionContext.#evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:282:44 ❯ ExecutionContext.evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:157:12 ❯ IsolatedWorld.evaluate node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:143:12 ❯ CdpFrame.evaluate node_modules/puppeteer-core/src/api/Frame.ts:478:12 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:12 ❯ Module.evaluate tests/e2e/utils.ts:43:46 ❯ tests/e2e/workflow.ts:120:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify source data information

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:322:13

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review NWB Inspector output

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:414:11

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > View the pre-form workflow page

TargetCloseError: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. ❯ CdpCDPSession.send node_modules/puppeteer-core/src/cdp/CDPSession.ts:90:9 ❯ ExecutionContext.#evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:282:44 ❯ ExecutionContext.evaluate node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:157:12 ❯ IsolatedWorld.evaluate node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:143:12 ❯ CdpFrame.evaluate node_modules/puppeteer-core/src/api/Frame.ts:478:12 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:12 ❯ Module.evaluate tests/e2e/utils.ts:43:46 ❯ tests/e2e/workflow.ts:120:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, originalMessage: '' }

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Specify source data information

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:322:13

Check failure on line 43 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Review NWB Inspector output

Error: Requesting main frame too early! ❯ assert node_modules/puppeteer-core/src/util/assert.ts:19:11 ❯ FrameManager.mainFrame node_modules/puppeteer-core/src/cdp/FrameManager.ts:261:5 ❯ CdpPage.mainFrame node_modules/puppeteer-core/src/cdp/Page.ts:479:31 ❯ CdpPage.evaluate node_modules/puppeteer-core/src/api/Page.ts:2208:23 ❯ Module.evaluate tests/e2e/utils.ts:43:68 ❯ tests/e2e/workflow.ts:414:11
export const toNextPage = async (path?: null | string) => {
const pageId = await evaluate(async () => {
return dashboard.page.info.id
}).catch((e) => {
console.error('ERROR', e)
expect(path).toBe(null)

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / Services on ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a multi-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / ubuntu-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a multi-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / Services on macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a multi-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / windows-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a multi-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / macos-latest

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a multi-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a single-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5

Check failure on line 53 in tests/e2e/utils.ts

GitHub Actions / macos-13

tests/e2e/tutorial.test.ts > E2E Test > Run through several pipeline workflows > Complete a multi-session workflow > Create new pipeline by specifying a name

AssertionError: expected 'details' to be null // Object.is equality - Expected: null + Received: "details" ❯ tests/e2e/utils.ts:53:20 ❯ Module.toNextPage tests/e2e/utils.ts:46:20 ❯ tests/e2e/workflow.ts:92:5
})
if (path) expect(pageId).toBe(`//${path}`)