summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2016-12-08 15:39:52 +0000
committerSean McGivern <sean@mcgivern.me.uk>2016-12-08 15:39:52 +0000
commitecc3f3154c1d5b4bfaa0e0d40a26fe8a0a3780a4 (patch)
treeb6ac182bdb73b4b5e69dc03294f3f5177e379295 /spec/features
parent564b166236e514e3be0f23ebd65296a1c2755006 (diff)
parent6ab74b1cb3f6982c52c7124a6e9e451c83d33645 (diff)
downloadgitlab-ce-ecc3f3154c1d5b4bfaa0e0d40a26fe8a0a3780a4.tar.gz
Merge branch '24982-ux-improvement-sign-in-success-message' into 'master'
Closes #24982 See merge request !7837
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/u2f_spec.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/features/u2f_spec.rb b/spec/features/u2f_spec.rb
index b750f27ea72..be21b403084 100644
--- a/spec/features/u2f_spec.rb
+++ b/spec/features/u2f_spec.rb
@@ -163,8 +163,7 @@ feature 'Using U2F (Universal 2nd Factor) Devices for Authentication', feature:
click_on "Sign in via U2F device"
expect(page.body).to match('We heard back from your U2F device')
click_on "Authenticate via U2F Device"
-
- expect(page.body).to match('Signed in successfully')
+ expect(page.body).to match('href="/users/sign_out"')
end
end
@@ -178,7 +177,7 @@ feature 'Using U2F (Universal 2nd Factor) Devices for Authentication', feature:
expect(page.body).to match('We heard back from your U2F device')
click_on "Authenticate via U2F Device"
- expect(page.body).to match('Signed in successfully')
+ expect(page.body).to match('href="/users/sign_out"')
end
end
@@ -234,7 +233,7 @@ feature 'Using U2F (Universal 2nd Factor) Devices for Authentication', feature:
expect(page.body).to match('We heard back from your U2F device')
click_on "Authenticate via U2F Device"
- expect(page.body).to match('Signed in successfully')
+ expect(page.body).to match('href="/users/sign_out"')
end
end
end
@@ -275,7 +274,7 @@ feature 'Using U2F (Universal 2nd Factor) Devices for Authentication', feature:
expect(page.body).to match('We heard back from your U2F device')
click_on "Authenticate via U2F Device"
- expect(page.body).to match('Signed in successfully')
+ expect(page.body).to match('href="/users/sign_out"')
logout
end