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

Fix failing spec for admin logout #249

Merged
merged 2 commits into from Oct 5, 2023

Conversation

rainerdema
Copy link
Contributor

@rainerdema rainerdema commented Oct 4, 2023

Summary

After updating the Solidus navigation bar, the feature spec for admin logout started failing.
The Logout link is now contained within a <details> tag, which needs to be clicked to reveal the logout option.

Screenshot 2023-10-04 at 16 59 57

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.

@rainerdema rainerdema added the bug label Oct 4, 2023
@rainerdema rainerdema self-assigned this Oct 4, 2023
@rainerdema rainerdema marked this pull request as draft October 4, 2023 15:05
@rainerdema rainerdema force-pushed the rainerd/fix-logout-test-post-navbar-update branch from 32d8ae2 to d94cc58 Compare October 4, 2023 15:18
@rainerdema rainerdema marked this pull request as ready for review October 4, 2023 15:20
@rainerdema rainerdema requested a review from elia October 4, 2023 15:33
spec/features/admin/sign_out_spec.rb Outdated Show resolved Hide resolved
Update the admin logout feature spec to accommodate the UI changes 
in the admin navigation bar.
The 'Logout' link is now nested within a 'details' tag and must
be clicked/expanded to access the logout functionality.
```
config/initializers/warden.rb:7:99: C: [Correctable] Rails/FindEach: Use find_each instead of each.
```
@rainerdema rainerdema force-pushed the rainerd/fix-logout-test-post-navbar-update branch from d94cc58 to 3534fd0 Compare October 5, 2023 08:28
@rainerdema rainerdema merged commit 89c8d1b into main Oct 5, 2023
4 checks passed
@rainerdema rainerdema deleted the rainerd/fix-logout-test-post-navbar-update branch October 5, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants