Add test file for modular editor #4
Annotations
3 errors, 9 warnings, and 3 notices
|
slim-lint
Process completed with exit code 65.
|
|
test:
spec/system/editor_system_spec.rb#L118
Editor contains resizer contains a vertical resizer
Failure/Error: response = http_connection.post url, body.to_json
WebMock::NetConnectNotAllowedError:
Real HTTP connections are disabled. Unregistered request: POST https://runners.example.org/runners with body '{"executionEnvironmentId":7,"inactivityTimeout":180}' with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Connection'=>'keep-alive', 'Content-Type'=>'application/json', 'Keep-Alive'=>'30', 'Poseidon-Token'=>'SECRET', 'User-Agent'=>'Faraday v2.12.1'}
You can stub this request with the following snippet:
stub_request(:post, "https://runners.example.org/runners").
with(
body: "{\"executionEnvironmentId\":7,\"inactivityTimeout\":180}",
headers: {
'Accept'=>'*/*',
'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Connection'=>'keep-alive',
'Content-Type'=>'application/json',
'Keep-Alive'=>'30',
'Poseidon-Token'=>'SECRET',
'User-Agent'=>'Faraday v2.12.1'
}).
to_return(status: 200, body: "", headers: {})
============================================================
|
|
test
Process completed with exit code 1.
|
|
scan_ruby
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
scan_ruby
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|
|
[rubocop] spec/concerns/lti_spec.rb#L219 <Lint/NumericOperationWithConstantResult>:
spec/concerns/lti_spec.rb#L219
Numeric operation with a constant result detected.
|
|
[rubocop] spec/concerns/lti_spec.rb#L229 <Lint/NumericOperationWithConstantResult>:
spec/concerns/lti_spec.rb#L229
Numeric operation with a constant result detected.
|
|
[rubocop] spec/system/score_system_spec.rb#L117 <Lint/NumericOperationWithConstantResult>:
spec/system/score_system_spec.rb#L117
Numeric operation with a constant result detected.
|
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
lint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|
|
slim-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
[rubocop] spec/system/editor_system_spec.rb#L113 <RSpec/ContextWording>:
spec/system/editor_system_spec.rb#L113
Context description should match /^when\b/, /^with\b/, or /^without\b/.
|
|
[rubocop] spec/system/editor_system_spec.rb#L117 <RSpec/EmptyLineAfterExample>:
spec/system/editor_system_spec.rb#L117
Add an empty line after `it`.
|
|
[rubocop] spec/system/editor_system_spec.rb#L120 <Capybara/ClickLinkOrButtonStyle>:
spec/system/editor_system_spec.rb#L120
Use `click_link_or_button` or `click_on` instead of `click_button`.
|