Skip to content

Add test file for modular editor #4

Add test file for modular editor

Add test file for modular editor #4

Triggered via push January 14, 2025 13:26
Status Failure
Total duration 19m 23s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

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.
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#L120 <Capybara/ClickLinkOrButtonStyle>: spec/system/editor_system_spec.rb#L120
Use `click_link_or_button` or `click_on` instead of `click_button`.