GithubHelp home page GithubHelp logo

psychopy / psychojs_testing Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 3.95 MB

Scripts for automated testing of PsychoJS

License: MIT License

JavaScript 99.23% HTML 0.77%
automation test test-automation testing testing-tools

psychojs_testing's People

Contributors

thomas-test-user avatar tpronk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

psychojs_testing's Issues

wdio_error fails because of "any error after test completed" check

wdio_error is a test in which an experiment throws and error and the testscript detects that this error has been logged. However, a recent change to the testing framework makes a test fail if a an error is logged even though all assertions passsed. Hence wdio_error fails. 0632e79

Perhaps fix those by erasing the error from the DOM in the testscript after the error has been detected by the testscript?

Also check `data-error` when a test did not fail

Currently, the wdio_video experiment throws an error (which is caught and reported by PsychoJS in a dialog box and in body.data-error), but the experiment does finish, so all of the assertation passed. However, the error does indicate there is a problem. We've already got code in the testing suite that logs any value in data-error upon a test failure, but let's also have a test fail when there is a value in data-error.

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.