From 4013517971fee107477775f6c71d19d107677218 Mon Sep 17 00:00:00 2001 From: Malaber Date: Tue, 14 Apr 2026 14:55:53 +0200 Subject: [PATCH] Stabilize follow sync E2E auth --- .gitlab-ci.yml | 2 ++ e2e/lib/api_client.rb | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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)