Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove test for M0012 and related helper #527

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions spec/site/tlc/signal_groups_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@
end
end

# 1. Verify connection
# 2. Send control command to start or stop a serie of signalgroups
# 3. Wait for status = true
specify 'series can be started/stopped with M0012', :important, sxl: '>=1.0.8' do |example|
Validator::Site.connected do |task,supervisor,site|
prepare task, site
set_signal_start_or_stop '5,4134,65;5,11'
end
end

# Verify status S0017 number of signal groups
#
# 1. Given the site is connected
Expand Down
9 changes: 0 additions & 9 deletions spec/support/command_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ def set_signal_stop
send_command_and_confirm @task, command_list, "Order signal group #{indx} to red", component
end

# Request series of signal groups to start/stop
def set_signal_start_or_stop status
command_list = build_command_list :M0012, :setStart, {
securityCode: Validator.get_config('secrets','security_codes',2),
status: status
}
send_command_and_confirm @task, command_list, "Request series of signal groups to #{status}"
end

# Switch signal plan
def set_plan plan
require_security_codes
Expand Down
Loading