Skip to content

Tests for our JavaScript#458

Draft
FelipeDefensor wants to merge 7 commits into
devfrom
js-tests
Draft

Tests for our JavaScript#458
FelipeDefensor wants to merge 7 commits into
devfrom
js-tests

Conversation

@FelipeDefensor

Copy link
Copy Markdown
Collaborator

This is the draft of a test suite for our JavaScript created by Claude Opus 4.6 on maximum effort. This seems very convoluted, and I wonder if it can't be simplified. I am pushing this only for future reference.

Depends on #449.

azfoo and others added 7 commits April 24, 2026 18:45
this is already done by `updateTime` in `youtube.html`.
nb: in _loadVideo, putting _deQueue in a setTimeout would prevent the error message that happens when trying to access the other functions before the video is properly loaded. There isn't a way to check if the video is already loaded before calling the rest of the queue. But I'm not sure how much is a sensible time because this seems to depend on device/internet speed. In testing, this error only seems to happen when a function call is coded in to clash with the timing, and not when testing by hand.
@FelipeDefensor FelipeDefensor marked this pull request as draft April 27, 2026 14:28
@FelipeDefensor FelipeDefensor linked an issue Apr 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

There are no automated tests for any of our JavaScript

2 participants