Skip to content
Snippets Groups Projects
Commit d2e9f0ac authored by Kerdo Kurs's avatar Kerdo Kurs
Browse files

update tests

parent f5891431
No related branches found
No related tags found
1 merge request!6Resolve "FR-04: Change Password"
Pipeline #43186 passed
......@@ -99,10 +99,6 @@ defmodule PasswordChangeContext do
{:ok, state}
end
and_ ~r/^I should be logged out$/, fn state ->
{:ok, state}
end
and_ ~r/^I should be shown the change password form again$/, fn state ->
assert visible_in_page? ~r"Change your password"
{:ok, state}
......
......@@ -10,7 +10,6 @@ Feature: Password Change
And I enter my new password and confirm it
When I click change password
Then I should receive a success notification
And I should be logged out
And I should be redirected to the login page
Scenario: Authenticated user cannot change their password when invalid current password
......
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