<filename>projects/golem_e2e/tests/login/login_missing_password.py<gh_stars>0

description = 'Verify the user cannot log in if password value is missing'

pages = ['login']

def test(data):
    navigate(data.env.url)
    send_keys(login.username_input, 'admin')
    click(login.login_button)
    capture('Verify the correct error message is shown')
    verify_text_in_element(login.error_list, 'Password is required')

<filename>projects/golem_e2e/tests/login/login_missing_password.py<gh_stars>0

description = 'Verify the user cannot log in if password value is missing'

pages = ['login']

def test(data):
    navigate(data.env.url)
    send_keys(login.username_input, 'admin')
    click(login.login_button)
    capture('Verify the correct error message is shown')
    verify_text_in_element(login.error_list, 'Password is required')
