VRFS-3007 : Fix feed tests (bad selector).
This commit is contained in:
parent
5ba6e1ed18
commit
7359cb36bf
|
|
@ -98,7 +98,7 @@ describe "Feed", :js => true, :type => :feature, :capybara_feature => true do
|
|||
|
||||
# confirm navigate to user profile page
|
||||
find(".avatar-tiny[user-id=\"#{user.id}\"][hoveraction=\"musician\"]").trigger(:click)
|
||||
find("#user-profile h2[id=profile-username]", text: user.name)
|
||||
find("#user-profile h2[id=username]", text: user.name)
|
||||
end
|
||||
|
||||
# it "should render play widget" do
|
||||
|
|
@ -198,7 +198,7 @@ describe "Feed", :js => true, :type => :feature, :capybara_feature => true do
|
|||
|
||||
# confirm navigate to user profile page
|
||||
find(".avatar-tiny[user-id=\"#{user.id}\"][hoveraction=\"musician\"]").trigger(:click)
|
||||
find("#user-profile h2[id=profile-username]", text: user.name)
|
||||
find("#user-profile h2[id=username]", text: user.name)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue