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

Auto run unittests in tests/index.html #468

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

camillobruni
Copy link
Contributor

Instead of triggering the tests from the outside, we can always directly start the mocha runner in tests/index.html.
The selenium driver now syncs on either globalThis.testResults being there or the test-complete event.

This way we should be able to reliably run the tests both via selenium and the browser.

Copy link
Contributor

@flashdesignory flashdesignory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@rniwa rniwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems ok.

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.

3 participants