From 8303a26f467e9d5612a6c5b0b494e3577c785157 Mon Sep 17 00:00:00 2001 From: Jack Weeden Date: Tue, 24 Sep 2024 08:54:30 +0100 Subject: [PATCH] Fix internal URL for GOV.UK Chat test Using `application_internal_url("chat")` returns a url of "https://chat". Instead we want the actual full URL of "https://www.integration.publishing.service.gov.uk" --- features/step_definitions/govuk_chat_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/govuk_chat_steps.rb b/features/step_definitions/govuk_chat_steps.rb index 2beceafa..f9b55ce3 100644 --- a/features/step_definitions/govuk_chat_steps.rb +++ b/features/step_definitions/govuk_chat_steps.rb @@ -2,7 +2,7 @@ url = if ENV["ENVIRONMENT"] == "production" application_external_url("chat") else - application_internal_url("chat") + Plek.website_root end cache_busted_url = cache_bust("#{url}/chat/about")