I need to switch to an iframe that has a dynamic name and id.  <iframe name="easyXDM_1435765828615" id="easyXDM_1435765828615">...</iframe>   I noticed LeadFoot has a switchToFrame() function, but when I pass it an element...
Is it possible to create and run test suites for custom client-side JavaScript, not created as Node modules? How should the configuration be altered then?  There is loader section in the Intern configuration, specifying the packages that will be loa...
The intern 2 documentation gives the following example of waiting for a condition to be true on a test page after loading it:  this.remote     .get(require.toUrl('./SomeTest.html'))     .then(pollUntil('return window.ready;', 5000));...
I'm having an issue getting Intern 2 to wait for elements to be present. In Intern 1 I was using  wait()to set express time periods for the page to wait for an element to be present after some user action. With Intern 2 there seems to be setFindT...
I have an application built using ArcGIS Javascript API and I've been adding tests using intern. I run it under IIS in Windows 7 while developing. I had no trouble getting the intern tutorial working when getting started and after looking at How...
I'm getting the error Attempt to require unloaded module xxxxxx with the following intern.js test (myfile.js below does a require('xxxxxx')) for testing NodeJS.  define(function(require) {   var bdd = require('intern!bdd');   var...
I'm writing some functional tests using Intern/Leadfoot. These tests are end-to-end tests (called also stories) and between them there kind of data dependency. With that I mean that a test (ie. test2) will fail if the previous test (test1) did no...
My project follows the following (simplified) directory structure:  \ |- app    |- script1.js    |- script2.js |- test    |- intern.conf.js    |- test.spec.js    I'm using requirejs in my application and thus all scripts under app/ directory have...
The application under test emits 'page-load' event after every page load and I want to take screenshot after the page has successfully loaded. Tried to listen for this event using Leadfoot's execute method. But it does not seem to work....
I'm creating functional tests using theintern framework. I want to model my tests using "page objects" since I would like the code to be reusable.  In the original documentation, there is a very simplified sample that shows how to create...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.