Skip to content
Closed
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: 6 additions & 4 deletions react_on_rails_pro/spec/dummy/spec/system/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,11 @@ def change_text_expect_dom_selector(dom_selector, expect_no_change: false)
it_behaves_like "streamed component tests", "/server_router/streaming-server-component",
"#ServerComponentRouter-react-component-0"

# Skip the test that fails without JavaScript - being addressed in another PR
it "renders the page completely on server and displays content on client even without JavaScript", # rubocop:disable RSpec/NoExpectationExample
skip: "Being addressed in another PR" do
# This test is overridden to skip it
# NOTE: The "renders the page completely on server" test from the shared examples is not
# applicable for React Router because client-side routing requires JavaScript to navigate
# to nested routes. This test is overridden to mark it as pending with an explanation.
it "renders the page completely on server and displays content on client even without JavaScript" do
pending("React Router requires JavaScript for client-side routing - cannot navigate to nested routes without JS")
raise "This test should remain pending for React Router components"
end
end
Loading