CI/tests: CI integration tests on Edge and windows #1621
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Listing things I've done:
I've added a script for integration tests on the Edge browser, which I also run on Windows in the CI
I explicitly call
bash
andnode
in package.json'sscripts
to be compatible with windows (cmd?).bash
is technically already a dependency anyway due to some of our scriptsI updated Github's
actions/checkout
andactions/setup-node
in the CI'schecks.yml
configuration file, as new examples from GitHub seems to indicate those should be the versions used today (differences seems to be things like versions of dependencies like node.js)I updated scripts's
path.join
usage as I thought it was provoking an issue on windows but turned out it was not. I still left it the way I updated it, we could put it like it was before, I don't really careI've raised MANY tests timeout and reduced the playback rates. Turns out that the machine/VMs that GitHub actions run is not performant at all, often reaching timeouts and often not being able to play as fast as we ask it
Due to that last point, tests take much more time though.
Things I didn't succeed to do:
I didn't succeed running tests on Safari, only because I didn't find a way anywhere to authorize autoplay without user interaction. Other browsers provide flags for this, but it seems that Safari doesn't.
Muting the audio volume on the corresponding video element didn't seem to have an effect.
I tried for a very long time to run tests on MacOS, but the performance of GitHub actions are so low that our corresponding integration tests were beginning to loose in quality. I chose to remove the macos part instead.