diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-11-20 15:16:23 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-11-20 15:16:23 +0100 |
commit | ef0f54232c777341e914d9cb45d8164057e65bc0 (patch) | |
tree | 5b3837a47df37895fb0b7616adb2186797f14c7a /qa | |
parent | bd026b6a28ac410ad455b7b915cafc9782296b6b (diff) | |
download | gitlab-ce-ef0f54232c777341e914d9cb45d8164057e65bc0.tar.gz |
Implement a workaround for QA mattermost failuresqa/gb/tmp-fix-mattermost-failures
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/mattermost/login_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qa/qa/specs/features/mattermost/login_spec.rb b/qa/qa/specs/features/mattermost/login_spec.rb index 92f91cb2725..1fde3f89a99 100644 --- a/qa/qa/specs/features/mattermost/login_spec.rb +++ b/qa/qa/specs/features/mattermost/login_spec.rb @@ -9,5 +9,16 @@ module QA expect(page).to have_content(/(Welcome to: Mattermost|Logout GitLab Mattermost)/) end end + + ## + # TODO, temporary workaround for gitlab-org/gitlab-qa#102. + # + after do + visit Runtime::Scenario.mattermost_address + reset_session! + + visit Runtime::Scenario.gitlab_address + reset_session! + end end end |