Skip to content

Commit 918fb40

Browse files
committed
Change variable name and add nil guard
1 parent f4730e5 commit 918fb40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ cases:
155155
- proc: open page
156156
exec:
157157
operate: go
158-
url: <%= ENV['FQDN'] %>/results # Using erb notation to get environment variable
158+
url: <%= ENV['BASE_FQDN'] %>/results # Using erb notation to get environment variable
159159
- proc: element click
160160
exec:
161161
operate: click
@@ -224,7 +224,7 @@ cases:
224224
desc: status check for detail page
225225
urls:
226226
- https://example.com/detail/1
227-
- <%= ENV['FQDN'] %>/detail/2 # Using erb notation to get environment variable
227+
- <%= ENV['BASE_FQDN'] %>/detail/2 # Using erb notation to get environment variable
228228
```
229229
230230
# Development

exe/bucky

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def setup_test_cond(test_cond)
135135
%i[suite_name case label xlabel device].each do |k|
136136
test_cond[k] = test_cond[k].split(',') unless test_cond[k].nil?
137137
end
138-
test_cond[:base_fqdn] = ENV['BUCKY_FQDN']
138+
test_cond[:base_fqdn] = ENV['BASE_FQDN'] ||= ''
139139
test_cond
140140
end
141141

0 commit comments

Comments
 (0)