Questions tagged [intern]

A revolutionary framework for JavaScript testing.

The custom reporter dependency for interns has been successfully loaded as a separate module instance

After encountering some confusion, I decided to share my experience. I have a test suite that utilizes CouchDB as its logging and recording database. It dawned on me that I could create custom reporters in intern, which led me to think about moving the man ...

Unable to execute internal functional tests due to this error: [POST http://localhost:4444/wd/hub/session] unable to connect - ECONNREFUSED

Currently working with node 0.12 and intern 3 in order to execute functional tests, but encountering the following error: SUITE ERROR Error: [POST http://localhost:4444/wd/hub/session] connect ECONNREFUSED at Server.createSession <node_m ...

standard_duration for Junior Selenium experiments

Is there an equivalent to Capybara's (RoR) default_wait_time for the Intern? setPageLoadTimeout and setFindTimeout don't seem to accomplish anything. this.timeout = 60000 seems to give an entire test 60 seconds, but I want all steps to have a default wai ...

What is the best method to empty an input field using Intern JS?

I have developed a code snippet for inline editing table fields. This functionality allows users to click on an element, which then gets replaced by an input field for editing. Once the modification is made, the input field is removed and replaced with a s ...

InternJS - Unresolved TypeError: The undefined object does not have a property named 'readFile'

I am currently facing an issue with Intern.js during functional testing. The error mentioned in the title has me puzzled as I struggle to figure out how to successfully load json files through FS or require. Despite my best efforts and extensive searches o ...

Fetching selenium logs and screenshots from the Intern grid backend

My question pertains to the Intern workflow in case of exceptions, with two specific parts: 1- According to Selenium's Desired Capabilities specifications, RemoteWebDriver automatically captures screenshots on exceptions unless disabled by setting we ...

How can we utilize Typescript to check if the intern 4 page has finished loading?

I've managed to set up a function in intern 4 using TypeScript that waits for the page to load. However, there are instances where it doesn't work and throws a TimeOutError even when I catch the error within the function. Can someone please take a look and ...