Add features for checking the "Active Tab" across various pages
This commit is contained in:
parent
f814da38bf
commit
cada511f8b
11 changed files with 537 additions and 9 deletions
25
features/steps/profile/profile_active_tab.rb
Normal file
25
features/steps/profile/profile_active_tab.rb
Normal file
|
@ -0,0 +1,25 @@
|
|||
class ProfileActiveTab < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedActiveTab
|
||||
|
||||
Then 'the active main tab should be Home' do
|
||||
ensure_active_main_tab('Profile')
|
||||
end
|
||||
|
||||
Then 'the active main tab should be Account' do
|
||||
ensure_active_main_tab('Account')
|
||||
end
|
||||
|
||||
Then 'the active main tab should be SSH Keys' do
|
||||
ensure_active_main_tab('SSH Keys')
|
||||
end
|
||||
|
||||
Then 'the active main tab should be Design' do
|
||||
ensure_active_main_tab('Design')
|
||||
end
|
||||
|
||||
Then 'the active main tab should be History' do
|
||||
ensure_active_main_tab('History')
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue