-
Notifications
You must be signed in to change notification settings - Fork 72
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
管理者が自分以外のユーザーアイコンを変更できないバグを修正 #8337
base: main
Are you sure you want to change the base?
Conversation
@su-su-su-su |
@kitarou888 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kitarou888
お疲れ様です!
確認させていただきました!
問題なさそうなので、私からはapproveさせていただきます🙏
@su-su-su-su @komagata |
@okuramasafumi こちらのレビューをお願いできればありがたいです〜 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
良さそうです!
native
メソッド、知らなかったのですが、
https://www.rubydoc.info/gems/capybara/Capybara/Node/Element#native-instance_method
のことなのでしょうか。他のテストコードでも利用例があるので問題はなさそうです。
@okuramasafumi ※参考にしたテストコード |
@okuramasafumi @komagata |
Issue
概要
管理者でログインをすると、ユーザーの個別ページからそのユーザーのプロフィール編集ページに入ることができ、プロフィールの編集が行える。
しかし、現状管理者ではその機能を使ってユーザーのアイコンを変更しようとしても変更が反映されない。
そのバグの修正を行った。
変更確認方法
bug/admin-cannot-update-user-icon
をローカルに取り込むgit fetch origin bug/admin-cannot-update-user-icon
git switch bug/admin-cannot-update-user-icon
foreman start -f Procfile.dev
でローカルサーバーを起動するScreenshot