Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Apr 8, 2024
1 parent 7fbf15b commit c441137
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/system/admin_officializations_user_extension_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
let!(:not_officialized) { create(:user, organization:) }

before do
within ".secondary-nav" do
within ".sidebar-menu" do
click_link "参加者"
end
end
Expand All @@ -60,7 +60,7 @@
expect(page).to have_css(".action-icon--show-user")

anchor = first("a.action-icon--show-user")
expect(anchor["data-toggle"]).to eq "show-user-modal"
expect(anchor["data-dialog-open"]).to eq "show-user-modal"
expect(anchor["title"]).to eq "ユーザー属性を表示"
end
end
Expand All @@ -80,7 +80,7 @@
create(:authorization, user:, name: "user_extension", metadata: user_extension)
end

within ".secondary-nav" do
within ".sidebar-menu" do
click_link "参加者"
end
end
Expand All @@ -100,7 +100,7 @@
expect(page).to have_content("本名")
expect(page).to have_content("#{user.nickname}_real")

find("button[data-close]").click
find("button[data-dialog-close]").click
end
end

Expand Down

0 comments on commit c441137

Please sign in to comment.