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...
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'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...
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...
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...
I am writing a test suite for a JavaScript widget using Intern.  I have written some pure-JavaScript tests and some in-page DOM tests, but I'm a little stuck on how to write functional tests for the Ajax functionality, which should talk to my sim...
I'm using The Intern test framework for testing my web application. Now I need to verify that a method has been invoced during a test, but I cannot find any resource which describes that this is possible with e.g. chai!assert or bdd. Can you give...
I want to display the results of intern-runner on a browser. All the reporters of intern-runner are displaying the results on the console. Do I need to write a custom reporter for this or is there any config tweak that I should do. If I need to write...
I'm working on a UI automation project using Intern js . And I'm implementing it using page object model . I have a simple scenario where user enters credentials in login page and is navigated to welcome page.  In my script i have a 'doLo...
I have a loop of tests running in intern-geezer, with about twenty out of a hundred very similar tests running successfully. Then suddenly:  FATAL ERROR ReferenceError: window is not defined   and the loop stops. There are no explicit calls to window...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.