From 24a57961ed0b1c0009806997eb254be38b3f9fd6 Mon Sep 17 00:00:00 2001 From: Rhys Berrow Date: Thu, 19 Sep 2024 13:40:42 +0100 Subject: [PATCH 1/3] Bump func test instances --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e645c24626..970e0c862f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -131,7 +131,7 @@ jobs: env: EQ_RUN_FUNCTIONAL_TESTS_HEADLESS: True # :TODO: Revisit & update when 2 instances can be used without adverse effects - EQ_FUNCTIONAL_TEST_MAX_INSTANCES: 1 + EQ_FUNCTIONAL_TEST_MAX_INSTANCES: 2 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 From f01580a5cda4363abbb006a64723f2874dba1a16 Mon Sep 17 00:00:00 2001 From: Rhys Berrow Date: Thu, 19 Sep 2024 14:13:49 +0100 Subject: [PATCH 2/3] Bump instances --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 970e0c862f..6c67318cf5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -131,7 +131,7 @@ jobs: env: EQ_RUN_FUNCTIONAL_TESTS_HEADLESS: True # :TODO: Revisit & update when 2 instances can be used without adverse effects - EQ_FUNCTIONAL_TEST_MAX_INSTANCES: 2 + EQ_FUNCTIONAL_TEST_MAX_INSTANCES: 4 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 From 798eb580beee1062272086e3341104af144e5a9d Mon Sep 17 00:00:00 2001 From: Rhys Berrow Date: Thu, 19 Sep 2024 14:44:11 +0100 Subject: [PATCH 3/3] Set to two and add test --- .github/workflows/pull_request.yml | 2 +- .../spec/features/hub_and_spoke/hub_and_spoke.spec.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6c67318cf5..970e0c862f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -131,7 +131,7 @@ jobs: env: EQ_RUN_FUNCTIONAL_TESTS_HEADLESS: True # :TODO: Revisit & update when 2 instances can be used without adverse effects - EQ_FUNCTIONAL_TEST_MAX_INSTANCES: 4 + EQ_FUNCTIONAL_TEST_MAX_INSTANCES: 2 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/tests/functional/spec/features/hub_and_spoke/hub_and_spoke.spec.js b/tests/functional/spec/features/hub_and_spoke/hub_and_spoke.spec.js index 5c350f041d..6c955e091e 100644 --- a/tests/functional/spec/features/hub_and_spoke/hub_and_spoke.spec.js +++ b/tests/functional/spec/features/hub_and_spoke/hub_and_spoke.spec.js @@ -325,6 +325,10 @@ describe("Feature: Hub and Spoke", () => { }); }); + it("When schema is opened, Then the supplementary data should successfully loaded", async () => { + await expect(browser).toHaveUrlContaining(LoadedSuccessfullyBlockPage.url()); + }); + it("When all the repeating sections are complete, Then the hub should be displayed", async () => { await click(LoadedSuccessfullyBlockPage.submit()); await click(IntroductionBlockPage.submit());