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

ダッシュボードにある最新のブックマークに削除の機能を追加した #5585

Merged
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
DOMの変更に伴うtest変更
  • Loading branch information
machida authored and choco0809 committed Oct 25, 2022

Verified

This commit was signed with the committer’s verified signature.
commit b1443d7bd3d5dfce5b24cf1aba5314134e2c5553
2 changes: 1 addition & 1 deletion app/views/home/_bookmarks.html.slim
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
.card-header__action
label.a-form-label.is-sm.is-inline
| 編集
label.a-on-off-checkbox.is-sm
label.a-on-off-checkbox.is-sm.spec-bookmark-edit
input#bookmark_edit(type='checkbox')
span
.card-list
2 changes: 1 addition & 1 deletion test/system/home_test.rb
Original file line number Diff line number Diff line change
@@ -373,7 +373,7 @@ class HomeTest < ApplicationSystemTestCase
assert_text 'Bookmarkしました!'

visit '/'
check '編集'
first('.spec-bookmark-edit').click
first('.js-bookmark-delete-button').click
assert_text 'Bookmarkを削除しました。'
assert_no_text '名前の長いメンター用'