fix hover to add hover class to element (ugly); fixes one cucumber test
This commit is contained in:
parent
f2fb431fed
commit
3a27d66ee8
2 changed files with 3 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ When /^I append "([^"]*)" to the publisher$/ do |stuff|
|
||||||
end
|
end
|
||||||
|
|
||||||
And /^I hover over the "([^"]+)"$/ do |element|
|
And /^I hover over the "([^"]+)"$/ do |element|
|
||||||
page.execute_script("$(\"#{element}\").first().mouseover()")
|
page.execute_script("$(\"#{element}\").first().addClass('hover')")
|
||||||
end
|
end
|
||||||
|
|
||||||
When /^I click to delete the first post$/ do
|
When /^I click to delete the first post$/ do
|
||||||
|
|
|
||||||
|
|
@ -2938,7 +2938,8 @@ ul.left_nav
|
||||||
a.tag_selector
|
a.tag_selector
|
||||||
:width 140px
|
:width 140px
|
||||||
|
|
||||||
li:hover
|
li:hover,
|
||||||
|
li.hover
|
||||||
.edit,
|
.edit,
|
||||||
.unfollow_icon
|
.unfollow_icon
|
||||||
:display inline-block
|
:display inline-block
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue