UNPKG

vuex-asr

Version:

* Version: 0.7.52 * License M.I.T. * [Online Documentation](https://vuex-asr.github.io/vuex-asr/) * author: Joris Wenting * email: vuex.asr@gmail.com * [linkedIn](https://www.linkedin.com/in/joriswenting/). * [contribute](https://vuex-asr.github.io/vuex-a

31 lines (28 loc) 841 B
// For authoring Nightwatch tests, see // http://nightwatchjs.org/guide#usage const url = process.env.VUE_APP_DEV_SERVER_URL + "#/asr-pass-overview/"; module.exports = { "Test for asr-pass-overview": browser => { browser .url(url) .waitForElementVisible("#app", 5000) .assert.elementPresent(".example-component-with-input") .assert.containsText( ".example-component-with-input > p", "message in the root of the store" ) .assert.value( ".example-component-with-input > input", "message in the root of the store" ) .setValue( ".example-component-with-input > input", "changed by user input" ) .assert.containsText( ".example-component-with-input > p", "changed by user input" ); browser.end(); } };