Pre-steps: Load Login Page
Steps: .components.logoutComponent()
.url(https://staging.toladata.io/, 1097, 758, Load page... "https://staging.toladata.io/")
.changeInput([name=username], CSS, TestingProgAdmin, Change input to... "TestingProgAdmin")
.click([name=password], CSS, Click element)
.changeInput([name=password], CSS, Login123, Change input to... "Login123")
.click([name=password], CSS, Click element)
.formSubmit(form, CSS, Form submit)
.click(body > :nth-child(1) .btn-primary, CSS, Click element)
.click(div > div > div > a > span, CSS, clicks on the "ELEMENT" element)
.elementPresent(.login__logo, CSS, El is present)
.elTextIs(.header__navbar__user-drop__circle, CSS, TT, El text is... "TT")
.end();
}
Expected result: Successful Login Message
Pre-steps: Load Login Page
Steps: .components.logoutComponent()
.url(
https://staging.toladata.io/, 1097, 758,Load page... "https://staging.toladata.io/").changeInput(
[name=username],CSS,TestingProgAdmin,Change input to... "TestingProgAdmin").click(
[name=password],CSS,Click element).changeInput(
[name=password],CSS,Login123,Change input to... "Login123").click(
[name=password],CSS,Click element).formSubmit(
form,CSS,Form submit).click(
body > :nth-child(1) .btn-primary,CSS,Click element).click(
div > div > div > a > span,CSS,clicks on the "ELEMENT" element).elementPresent(
.login__logo,CSS,El is present).elTextIs(
.header__navbar__user-drop__circle,CSS,TT,El text is... "TT").end();
}
Expected result: Successful Login Message