diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 370ec1d..60f71d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,6 +157,8 @@ rails follow sync e2e spec: when: never - if: $SKIP_E2E_SPEC when: never + - if: $SKIP_FOLLOW_E2E_SPEC + when: never - if: $CI_PIPELINE_SOURCE != "push" when: never - when: always diff --git a/e2e/lib/api_client.rb b/e2e/lib/api_client.rb index d1a8584..c3500f9 100644 --- a/e2e/lib/api_client.rb +++ b/e2e/lib/api_client.rb @@ -95,11 +95,13 @@ module TurniereE2E end parsed_json = parse_json_body(response.body) - { + result = { status: response.code.to_i, json: parsed_json, headers: response.each_header.to_h } + store_auth_headers!(result) + result end def merged_headers(headers)