Commit
b03d4c32d31cddc2664940da69dd8e4ad2b73ab2
Exists in
staging
and in
32 other branches
all_pending_tasks_api, api-articles-period, api_roles, comments_permissions, elasticsearch, elasticsearch_api, elasticsearch_categories, elasticsearch_filter, elasticsearch_sort, elasticsearch_to_merge, elasticsearch_view, environment-exposes-api, export-comment-api, export_data, external_followers, federation-webfinger, federation_followers, federation_followers_backend, federation_oauth_provider, federation_webfinger, fix_notification_email, follower_permition, master, master_profile_followers, oauth_external_login, oauth_login, private-scraps, private-scraps-rebase, production, profile_api_improvements, user_mention, webfinger_server
travis: upload snapshots of failing selenium scenarios
| @@ -24,6 +24,9 @@ addons: |
| @@ -24,6 +24,9 @@ addons: |
24
| - libreadline-dev |
24
| - libreadline-dev |
25
| - libsqlite3-dev |
25
| - libsqlite3-dev |
26
| - libxslt1-dev |
26
| - libxslt1-dev |
| |
27
| + artifacts: |
| |
28
| + paths: |
| |
29
| + - $(ls tmp/artifact* | tr "\n" ":") |
27
| |
30
| |
28
| # workaround for https://github.com/travis-ci/travis-ci/issues/4536 |
31
| # workaround for https://github.com/travis-ci/travis-ci/issues/4536 |
29
| before_install: |
32
| before_install: |
| @@ -0,0 +1,9 @@ |
| @@ -0,0 +1,9 @@ |
| |
1
| + |
| |
2
| +After do |scenario| |
| |
3
| + if scenario.failed? |
| |
4
| + if ENV['TRAVIS'] |
| |
5
| + build = ENV['TRAVIS_BUILD_NUMBER'] |
| |
6
| + page.driver.save_screenshot "./tmp/artifact-travis-#{build}-#{scenario.name.parameterize}.png" |
| |
7
| + end |
| |
8
| + end |
| |
9
| +end |