diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-20 14:59:46 -0300 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-21 10:50:11 -0300 |
commit | 44e1ff7a6ce3329f747cb6a52c91bc47a0c8c93c (patch) | |
tree | fd7162b4e61286c3f8a4dd31a2cbb1006bd4b64e /fake-service/features/step_definitions/tag_list.rb | |
parent | d63d4b489af735651cee9d50357aa84106a19cd2 (diff) |
removing fake service
Diffstat (limited to 'fake-service/features/step_definitions/tag_list.rb')
-rw-r--r-- | fake-service/features/step_definitions/tag_list.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fake-service/features/step_definitions/tag_list.rb b/fake-service/features/step_definitions/tag_list.rb deleted file mode 100644 index 678f5ce9..00000000 --- a/fake-service/features/step_definitions/tag_list.rb +++ /dev/null @@ -1,15 +0,0 @@ -When(/^I select the tag '(.*)'$/) do |tag| - wait_for_user_alert_to_disapear # in Chrome, the 'flash message is on top of the toggle - first('.left-off-canvas-toggle').click - page.execute_script("window.scrollBy(0, -200)") - within('#tag-list') { find('li', text: /#{tag}/i).click } -end - -def wait_for_user_alert_to_disapear - begin - while find('#user-alerts') - sleep 0.1 - end - rescue #if it couldn't find it, go ahead - end -end |