GithubHelp home page GithubHelp logo

Cannot run edxapp Jasmine tests about devstack HOT 5 CLOSED

openedx avatar openedx commented on September 28, 2024
Cannot run edxapp Jasmine tests

from devstack.

Comments (5)

clintonb avatar clintonb commented on September 28, 2024 1

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.

clintonb avatar clintonb commented on September 28, 2024

Related to #53.

from devstack.

clintonb avatar clintonb commented on September 28, 2024

@jzoldak thoughts on if/how we can incorporate the work you presented a couple weeks ago?

from devstack.

jzoldak avatar jzoldak commented on September 28, 2024

@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.

macdiesel avatar macdiesel commented on September 28, 2024

https://openedx.atlassian.net/browse/PLAT-1671

from devstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.