Welcome to mirror list, hosted at ThFree Co, Russian Federation.

active_tab.rb « profile « steps « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 069d4e6a23d4c632a4f003dccf507b0e22443d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedPaths
  include SharedActiveTab

  step 'the active main tab should be Home' do
    ensure_active_main_tab('Profile')
  end

  step 'the active main tab should be Account' do
    ensure_active_main_tab('Account')
  end

  step 'the active main tab should be SSH Keys' do
    ensure_active_main_tab('SSH Keys')
  end

  step 'the active main tab should be Preferences' do
    ensure_active_main_tab('Preferences')
  end

  step 'the active main tab should be Authentication log' do
    ensure_active_main_tab('Authentication log')
  end
end