You can then use Chai As Promised as such: expect(myElement.getText()).to.eventually.equal('some text');. Finally, set the 'framework' property to 'mocha', ...
確定! 回上一頁