Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

Acceptance Test - Capture DOM Element During Download

$
0
0

@HelloWorld wrote:

Hey,

I have a button that when clicked initiates a download. Whilst the download takes place, the button’s text becomes “Downloading…”

I want to write an acceptance test that verifies this happens. However, I don’t know how to capture the text of the button at the point that the download is taking place because the download has always completed by the time my test tries to capture the button’s text.

Any suggestions?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles