diff options
author | Mark Lapierre <mlapierre@gitlab.com> | 2018-10-08 14:56:32 -0400 |
---|---|---|
committer | Mark Lapierre <mlapierre@gitlab.com> | 2018-10-08 15:04:08 -0400 |
commit | 03ee488f93d4ccce5bb6d476ad33e210fb94a56b (patch) | |
tree | 5a0433cb173a90352b778f8787a8c44faac134b5 /qa/qa/specs/features/browser_ui/1_manage/login | |
parent | 1540d51a54f6c2e63335824deb93dad75aba1aec (diff) | |
download | gitlab-ce-03ee488f93d4ccce5bb6d476ad33e210fb94a56b.tar.gz |
Allow the registration e2e test to be skipped
If SIGNUP_DISABLED is true skip any tests with a context
:skip_signup_disabled. The context is set for the registration tests.
This allows the tests to be skipped when run on the staging, which
doesn't allow registration
Diffstat (limited to 'qa/qa/specs/features/browser_ui/1_manage/login')
-rw-r--r-- | qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb b/qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb index 478a5cb9c4c..bc1c2abdf56 100644 --- a/qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb +++ b/qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb @@ -16,13 +16,13 @@ module QA end end - context :manage do + context :manage, :skip_signup_disabled do describe 'standard' do it_behaves_like 'registration and login' end end - context :manage, :orchestrated, :ldap do + context :manage, :orchestrated, :ldap, :skip_signup_disabled do describe 'while LDAP is enabled' do it_behaves_like 'registration and login' end |