expect(myElement.getText()).to.eventually.equal('some text');