diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 2ee857d9e..97ee08481 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -76,22 +76,22 @@ jobs: - name: Set test report name for progressive rendering if: always() && matrix.progressive_rendering == true run: | - echo "TEST_REPORT_NAME=progressive-voila-test-report-${{ matrix.jupyter-server-version }}" >> $GITHUB_ENV - echo "TEST_ASSETS_NAME=progressive-voila-test-assets-${{ matrix.jupyter-server-version }}" >> $GITHUB_ENV - echo "TEST_BENCHMARK_NAME=progressive-voila-test-benchmark-${{ matrix.jupyter-server-version }}" >> $GITHUB_ENV + echo "TEST_REPORT_NAME=progressive-voila-test-report-${{ matrix.jupyter-server-version }}-${{ matrix.ipywidgets }}" >> $GITHUB_ENV + echo "TEST_ASSETS_NAME=progressive-voila-test-assets-${{ matrix.jupyter-server-version }}-${{ matrix.ipywidgets }}" >> $GITHUB_ENV + echo "TEST_BENCHMARK_NAME=progressive-voila-test-benchmark-${{ matrix.jupyter-server-version }}-${{ matrix.ipywidgets }}" >> $GITHUB_ENV - name: Set test report name for non-progressive rendering if: always() && matrix.progressive_rendering == false run: | - echo "TEST_REPORT_NAME=voila-test-report-${{ matrix.jupyter-server-version }}" >> $GITHUB_ENV - echo "TEST_ASSETS_NAME=voila-test-assets-${{ matrix.jupyter-server-version }}" >> $GITHUB_ENV - echo "TEST_BENCHMARK_NAME=voila-test-benchmark-${{ matrix.jupyter-server-version }}" >> $GITHUB_ENV + echo "TEST_REPORT_NAME=voila-test-report-${{ matrix.jupyter-server-version }}-${{ matrix.ipywidgets }}" >> $GITHUB_ENV + echo "TEST_ASSETS_NAME=voila-test-assets-${{ matrix.jupyter-server-version }}-${{ matrix.ipywidgets }}" >> $GITHUB_ENV + echo "TEST_BENCHMARK_NAME=voila-test-benchmark-${{ matrix.jupyter-server-version }}-${{ matrix.ipywidgets }}" >> $GITHUB_ENV - name: Upload Playwright Test assets if: always() uses: actions/upload-artifact@v4 with: - name: ${{ env.TEST_ASSETS_NAME }}${{ matrix.ipywidgets }} + name: ${{ env.TEST_ASSETS_NAME }} path: | ui-tests/test-results @@ -99,7 +99,7 @@ jobs: if: always() uses: actions/upload-artifact@v4 with: - name: ${{ env.TEST_BENCHMARK_NAME }}${{ matrix.ipywidgets }} + name: ${{ env.TEST_BENCHMARK_NAME }} path: | ui-tests/benchmark-results @@ -107,7 +107,7 @@ jobs: if: always() uses: actions/upload-artifact@v4 with: - name: ${{ env.TEST_REPORT_NAME }}${{ matrix.ipywidgets }} + name: ${{ env.TEST_REPORT_NAME }} path: | ui-tests/playwright-report diff --git a/packages/widgets_manager7/src/index.ts b/packages/widgets_manager7/src/index.ts index 2c6a45707..4f1334257 100644 --- a/packages/widgets_manager7/src/index.ts +++ b/packages/widgets_manager7/src/index.ts @@ -20,7 +20,7 @@ import { StyleView } from '@jupyter-widgets/base'; import { JUPYTER_CONTROLS_VERSION } from '@jupyter-widgets/controls/lib/version'; -import { WidgetRenderer } from '@jupyter-widgets/jupyterlab-manager'; +import { WidgetRenderer, output } from '@jupyter-widgets/jupyterlab-manager'; import { JupyterFrontEnd, JupyterFrontEndPlugin @@ -168,6 +168,12 @@ const widgetManager: JupyterFrontEndPlugin = { } }); + manager.register({ + name: '@jupyter-widgets/output', + version: output.OUTPUT_WIDGET_VERSION, + exports: output as any + }); + app.started.then(async () => { await manager._loadFromKernel(); });