Comments (5)
Simple solution (borrowed from https://dzone.com/articles/how-to-run-karma-tests-in-a-docker-container): install xvfb and Firefox in the images. I just tested this, and it works. This solution is not ideal given that we don't necessarily want either of these applications installed on production images.
It would be ideal if there were a way to instruct Karma to use a remote browser. In that case we could use an external container, such as https://hub.docker.com/r/selenium/standalone-firefox/.
from devstack.
Related to #53.
from devstack.
@jzoldak thoughts on if/how we can incorporate the work you presented a couple weeks ago?
from devstack.
@clintonb Hm, I'd need to think of the best thing for the Jasmine tests. For bok-choy tests (may be more applicable to #53, this is what I had going so far) - add a selenium standalone container.
Still haven't gotten a chance to fully document it yet. :/
However I think you might be able to get what you need, with some tips for how to work around some bugs and what not here.
from devstack.
https://openedx.atlassian.net/browse/PLAT-1671
from devstack.
Related Issues (20)
- Document undocumented features of devstack (e.g. with-watchers) HOT 2
- Document pkg-config and devstack update help HOT 3
- Remove devpi from devstack HOT 1
- copy-node-modules.sh fails on Linux during LMS provisioning due to permission error HOT 1
- [idea] Create document of devstack upgrade instructions HOT 2
- Remove dependency on docker-compose HOT 2
- Remove legacy elasticsearch images HOT 1
- Configure registrar to use MySQL 8.0 in devstack
- Test issue, please ignore HOT 1
- Install watchman via Ubuntu packages HOT 2
- Testing HOT 2
- [Bug]: Getting error `[karma]: { inspect: [Function: inspect] }` when running test_js in LMS/CMS HOT 1
- Improve docs related to LMS/CMS testing
- Switch from pywatchman to watchfiles
- [Bug]: Docker complains about the projet name HOT 3
- Remove documentation and code around developing off named release branches HOT 1
- Support updating theme repos HOT 1
- Support mongosh HOT 3
- Devstack provisioning breaks with new demo course
- Fix failing docs build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devstack.