Skip to content
Snippets Groups Projects
Verified Commit 3f988e4b authored by Mark's avatar Mark
Browse files

Add login screen test

parent 56884224
No related branches found
No related tags found
1 merge request!2Minimal frontend
module.exports = {
'Demo test Index' : function (browser) {
console.log(this)
'Welcome screen' : function (browser) {
browser
.url(browser.globals.url)
.waitForElementVisible('body')
.assert.containsText('.jumbotron', 'Welcome to OpenAppStack')
.assert.containsText('.btn.btn-success', 'Login')
.assert.containsText('a.dropdown-item', 'Login')
.end();
},
'Login screen' : function (browser) {
browser
.url(browser.globals.url)
.waitForElementVisible('body')
.click("link text", "Login")
.assert.containsText('.btn', 'Login with OAS')
.end();
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment