Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Admin] feature specs fixes #5253

Merged
merged 3 commits into from
Jul 17, 2023
Merged

[Admin] feature specs fixes #5253

merged 3 commits into from
Jul 17, 2023

Conversation

elia
Copy link
Member

@elia elia commented Jul 17, 2023

Summary

These changes will help make feature specs work and properly load JS when driving a selenium browser.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

elia added 3 commits July 17, 2023 17:15
Those gems are required by solidus_admin in order to work.

This issue was blocking dummy app from loading properly the JavaScript
code, while host application were working because had those gems added
to their gemfile during the installation.
Not having this would generate an error during feature specs.
@elia elia self-assigned this Jul 17, 2023
@elia elia requested a review from a team as a code owner July 17, 2023 15:20
@github-actions github-actions bot added the changelog:repository Changes to the repository not within any gem label Jul 17, 2023
Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="<%= current_locale %>">
<head>
<%= favicon_link_tag 'favicon.ico' %>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the error here, just for the sake of curiosity? Something related to a11y?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not accessibility, it's just capybara complaining for the 500 received when trying to fetch the default /favicon.ico.

@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #5253 (3e0c15f) into nebulab/admin (c06480d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@              Coverage Diff               @@
##           nebulab/admin    #5253   +/-   ##
==============================================
  Coverage          88.41%   88.42%           
==============================================
  Files                596      596           
  Lines              14464    14466    +2     
==============================================
+ Hits               12789    12791    +2     
  Misses              1675     1675           
Impacted Files Coverage Δ
admin/lib/solidus_admin.rb 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@elia elia merged commit bfc3827 into nebulab/admin Jul 17, 2023
@elia elia deleted the elia/admin/feature-specs branch July 17, 2023 15:48
@elia elia added changelog:solidus_admin and removed changelog:repository Changes to the repository not within any gem labels Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants