Open karrla opened 6 years ago
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
https://staging.toladata.io/
Load page... "https://staging.toladata.io/"
[name=username]
CSS
TestingProgAdmin
Change input to... "TestingProgAdmin"
[name=password]
Click element
Login123
Change input to... "Login123"
form
Form submit
body > :nth-child(1) .btn-primary
div > div > div > a > span
clicks on the "ELEMENT" element
.login__logo
El is present
.header__navbar__user-drop__circle
TT
El text is... "TT"
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