If your controller action looks like this:  respond_to do |format|   format.html { raise 'Unsupported' }   format.js # index.js.erb end   and your functional test looks like this:  test "javascript response..." do   get :index end   i...
Until now, I was testing my non-Angular website (I only have JS, no node, not even ES6) using Jasmine, Karma and Travis CI.   I am now trying to write functional tests (in case my vocabulary is off, I mean scenario tests for which I want to test "...
We are having a little problem with a functional test with casper.js.  We request the same resource twice, first with the GET and then with POST method. Now when waiting for the second resource (POST) it matches the first resource and directly goes t...
Bit of background: The team is writing QUnit UI tests AND browser automation tests using C#. I would like to create a JSON object that can be shared between the two. That way if a class name gets changed, the config file will only need to be updated...
I am having problems using any dojo modules with my functional test, I keep seeing window not defined errors or document not defined.  I am currently trying to use the dijit/registry like so (only importing its module so far)..  define([     'int...
It might be a wiki question, but still. Which approach conforms more to the Javascript spirit:  var Report = function(data) {     var that = this;     that.send = function() { ... }; };  var r = new Report(data); // create and validate the data r.sen...
I'm trying to build a test suite using a JMetter. The web-service I'm tring to test speaks some custom-made protocol, and expressing my needs using regular expressions makes it very difficult.  Then I found the BSF Post processor, that allows...
I can't find FirefoxDriver's option, which equivalents --always-authorize-plugins in ChromeDriver.  Does FirefoxDriver contain an equivalent option?  P.S. --always-authorize-plugins enables all plugin in ChromeDriver....
I'd like to write a functional test on my webpage using CasperJS, that:   Fills login form Submits login form Checks for dynamically loaded content    The first two steps I've already manage to do, but I have a problem with the third one. The...
We are using Intern to run a suite of functional JavaScript tests for our application, against an Ubuntu VM launched using Vagrant.  Each test bootstraps itself with a data file that generates some UI output. Each of the tests run successfully in iso...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.