Skip to content

Commit

Permalink
Update menu_generator.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
natalia-ss committed Feb 12, 2024
1 parent 025c645 commit 2fb8564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/menu_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def create_framework_options(params)

def create_framework(framework, automation_type)
visual_automation = choose_visual_automation if %w[selenium].include?(automation_type)
axe = choose_axe_support if automation_type.downcase == 'selenium' && framework.downcase == 'rspec' && visual_automation == false
axe = choose_axe_support if automation_type == 'selenium' && framework == 'rspec' && visual_automation == false
options = create_framework_options(automation: automation_type,
framework: framework.downcase,
visual_automation: visual_automation,
Expand Down

0 comments on commit 2fb8564

Please sign in to comment.