# Intern.js getVisibleText() does not work on dijits

**URL:** <https://discourse.dojo.io/t/intern-js-getvisibletext-does-not-work-on-dijits/175>\
**Category:** Non-Dojo\
**Created:** [April 13, 2018, 8:55am UTC](https://discourse.dojo.io/t/intern-js-getvisibletext-does-not-work-on-dijits/175 "2018-04-13T08:55:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolasiac](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@nicolasiac](https://discourse.dojo.io/u/nicolasiac)\
**Post date:** [April 13, 2018, 8:55am UTC](https://discourse.dojo.io/t/intern-js-getvisibletext-does-not-work-on-dijits/175/1 "2018-04-13T08:55:08Z")

</div>

We are using dojo 1.13 with intern v3.  
In one of our functional tests we are doing the following:

```
 .findByClassName('functionalTestWidget')
                .click()
                .sleep(1000)
                // check placeholder
                .getVisibleText()
                      .then(function (text) {
                          assert.strictEqual(text, 'Type here'); // SUCCESS
                      })
                .pressKeys('01/10/2010') 

                // press tab to get out of the control 
                .pressKeys('\uE004')
                .sleep(1000)                
                .end()

            .findByClassName('functionalTestWidget')
                .click()
                .sleep(1000)
                .getVisibleText()
                      .then(function (text) {
                          assert.strictEqual(text, '01/10/2010'); // FAILS : text is ''
                      })

```

although it can read the placeholder, after typing someting, pressing tab and then reselecting the widget, the getVisibleText returns an empty string
