Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmooney committed Feb 13, 2024
1 parent 7e20ef0 commit 5dc36b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions js/src/streams/Media.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { DOMWidgetModel, DOMWidgetView } from "@jupyter-widgets/base";
import * as _ from "underscore";
import {
DOMWidgetView,
DOMWidgetModel,
unpack_models,
} from "@jupyter-widgets/base";
import * as utils from "../utils";

const semver_range = "~" + require("../../package.json").version;
Expand Down Expand Up @@ -46,7 +42,7 @@ export class MediaStreamView extends DOMWidgetView {
this.video.controls = true;
this.pWidget.addClass("jupyter-widgets");
this.pWidget.addClass("widget-image");
this.pWidget.addClass("video-stream");
this.video.classList.add("video-stream");

this.initPromise = this.model.captureStream();

Expand Down
2 changes: 1 addition & 1 deletion tests/test_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ def kernel_code():

ipywidgets_runner(kernel_code)
vid = page_session.locator(".video-stream").wait_for()
playwright.sync_api.expect(vid).to_be_visible()
playwright.sync_api.expect(vid).to_be_visible().wait_for()

0 comments on commit 5dc36b1

Please sign in to comment.