mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Assert clicking on element outside viewport of parent element really works
This commit is contained in:
parent
e38cafdbd7
commit
836b8efacc
2 changed files with 2 additions and 1 deletions
|
@ -77,6 +77,7 @@ describe Capybara::Session do
|
|||
|
||||
it "scrolls into view" do
|
||||
@session.click_link "Link outside viewport"
|
||||
@session.current_path.should eq '/'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
|
||||
<p>
|
||||
<a href="#">Link outside viewport</a>
|
||||
<a href="/">Link outside viewport</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue