E2E: add user smoke tests
- Disable captcha + open registrations in E2E Pleroma config - Await login after signup to avoid redirect race - Add basic register/login/post smoke specs - Fix failure artifact copying order
This commit is contained in:
parent
99d2efac6c
commit
7f54706821
4 changed files with 97 additions and 3 deletions
|
|
@ -551,7 +551,7 @@ const users = {
|
|||
if (data.access_token) {
|
||||
store.commit('signUpSuccess')
|
||||
oauthStore.setToken(data.access_token)
|
||||
store.dispatch('loginUser', data.access_token)
|
||||
await store.dispatch('loginUser', data.access_token)
|
||||
return 'ok'
|
||||
} else { // Request succeeded, but user cannot login yet.
|
||||
store.commit('signUpNotice', data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue