Skip to content

Fix content blocks #2165

Fix content blocks

Fix content blocks #2165

GitHub Actions / Test Results failed Jan 22, 2025 in 0s

1 fail, 56 skipped, 1 998 pass in 17m 40s

    3 files  ±0      3 suites  ±0   17m 40s ⏱️ -7s
2 055 tests ±0  1 998 ✅  - 1  56 💤 ±0  1 ❌ +1 
2 082 runs  ±0  2 023 ✅  - 1  58 💤 ±0  1 ❌ +1 

Results for commit 25ec784. ± Comparison against earlier commit b1aa3c3.

Annotations

Check warning on line 0 in ./spec/views/hyrax/content_blocks/edit.html.erb_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

hyrax/content_blocks/edit renders the instruction blocks (spec.views.hyrax.content_blocks.edit) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
expected to find visible xpath "//p[@class=\"content-block-instructions\" ]" 8 times, found 6 matches: "Announcement Text displays on the homepage. It is for important or timely messages to be made prominently visible to all home page visitors. It would be appropriate to enter an announcement here, for example, to notify users about an upcoming planned maintenance outage of the system.", "Banner Text refers to the text that is displayed over banner image on the homepage. We recommend no more than approximately 30 characters or spaces in this text area.", "Home Page Text refers to the custom messaging that is displayed on the home page either in the hero block or another section of the home page. This text appears when selecting a theme that either requires or allows home page text. We recommend no more than 3 sentences in this area.", "Featured Researcher is a space to enter information and on the home page reserved for highlighting repository users.", "This heading is not used by any of the default Hyku themes. It may be used for custom themes.", "This content is not used by any of the default Hyku themes. It may be used for custom themes."
Failure/Error: expect(rendered).to have_xpath('//p[@class="content-block-instructions" ]', count: 8)
  expected to find visible xpath "//p[@class=\"content-block-instructions\" ]" 8 times, found 6 matches: "Announcement Text displays on the homepage. It is for important or timely messages to be made prominently visible to all home page visitors. It would be appropriate to enter an announcement here, for example, to notify users about an upcoming planned maintenance outage of the system.", "Banner Text refers to the text that is displayed over banner image on the homepage. We recommend no more than approximately 30 characters or spaces in this text area.", "Home Page Text refers to the custom messaging that is displayed on the home page either in the hero block or another section of the home page. This text appears when selecting a theme that either requires or allows home page text. We recommend no more than 3 sentences in this area.", "Featured Researcher is a space to enter information and on the home page reserved for highlighting repository users.", "This heading is not used by any of the default Hyku themes. It may be used for custom themes.", "This content is not used by any of the default Hyku themes. It may be used for custom themes."
./spec/views/hyrax/content_blocks/edit.html.erb_spec.rb:39:in `block (2 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'