Commit db82bf4c965d507b7abf257e70b3f04c45a817be

Authored by Rodrigo Souto
1 parent bc15cd15

clickable-images-feature: simulate hover to display zoom link

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
features/clickable_images.feature
@@ -14,6 +14,7 @@ Feature: clickable images @@ -14,6 +14,7 @@ Feature: clickable images
14 | owner | name | image | dimensions | 14 | owner | name | image | dimensions |
15 | booking | small | rails.png | 20x20 | 15 | booking | small | rails.png | 20x20 |
16 When I go to /booking/small 16 When I go to /booking/small
  17 + And display ".zoomify-image"
17 Then I should see "Zoom in" 18 Then I should see "Zoom in"
18 19
19 @selenium 20 @selenium
@@ -22,6 +23,7 @@ Feature: clickable images @@ -22,6 +23,7 @@ Feature: clickable images
22 | owner | name | image | dimensions | 23 | owner | name | image | dimensions |
23 | booking | real | rails.png | 50x64 | 24 | booking | real | rails.png | 50x64 |
24 When I go to /booking/real 25 When I go to /booking/real
  26 + And display ".zoomify-image"
25 Then "Zoom in" should not be visible within "a#zoomify-image" 27 Then "Zoom in" should not be visible within "a#zoomify-image"
26 28
27 @selenium 29 @selenium
@@ -30,6 +32,7 @@ Feature: clickable images @@ -30,6 +32,7 @@ Feature: clickable images
30 | owner | name | image | 32 | owner | name | image |
31 | booking | not set | rails.png | 33 | booking | not set | rails.png |
32 When I go to /booking/not-set 34 When I go to /booking/not-set
  35 + And display ".zoomify-image"
33 Then "Zoom in" should not be visible within "a#zoomify-image" 36 Then "Zoom in" should not be visible within "a#zoomify-image"
34 37
35 @selenium-fixme 38 @selenium-fixme