save_and_open_page
have_button(locator)
release: bash ./release-sentry.sh | |
web: npm start |
#!/bin/sh | |
URL="https://file.io" | |
DEFAULT_EXPIRE="14d" # Default to 14 days | |
if [ $# -eq 0 ]; then | |
echo "Usage: file.io FILE [DURATION]\n" | |
echo "Example: file.io path/to/my/file 1w\n" | |
exit 1 | |
fi |
module Draper | |
class CollectionDecorator | |
delegate :current_page, :total_pages, :limit_value | |
end | |
end |
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |