diff --git a/pom.xml b/pom.xml index aefcc535c..c07ff1274 100644 --- a/pom.xml +++ b/pom.xml @@ -244,12 +244,12 @@ -Xmx${jvmMemory}m true 1 - 2 + 4 **/**.java methods - 2 + 4 true diff --git a/src/test/java/org/dvsa/testing/framework/Journeys/licence/InternalUIJourney.java b/src/test/java/org/dvsa/testing/framework/Journeys/licence/InternalUIJourney.java index fd8836299..3885e725e 100644 --- a/src/test/java/org/dvsa/testing/framework/Journeys/licence/InternalUIJourney.java +++ b/src/test/java/org/dvsa/testing/framework/Journeys/licence/InternalUIJourney.java @@ -148,10 +148,11 @@ public void deleteDocument() { UniversalActions.clickConfirm(); } - public void checkLicenceStatus(String arg0) { + public void checkLicenceStatus(String expectedStatus) { waitForElementToBeClickable("menu-admin-dashboard/admin-your-account/details", SelectorType.ID); waitForTextToBePresent("Licence status"); - assertEquals(arg0, getElementValueByText("//strong[contains(@class,'govuk-tag')]", SelectorType.XPATH)); + String actualStatus = getElementValueByText("//strong[contains(@class,'govuk-tag')]", SelectorType.XPATH); + assertEquals(expectedStatus.toUpperCase(), actualStatus.toUpperCase()); } public void closeCase() { diff --git a/src/test/java/org/dvsa/testing/framework/parallel/CustomRunner.java b/src/test/java/org/dvsa/testing/framework/parallel/CustomRunner.java index 309136e08..c57bf6bcc 100644 --- a/src/test/java/org/dvsa/testing/framework/parallel/CustomRunner.java +++ b/src/test/java/org/dvsa/testing/framework/parallel/CustomRunner.java @@ -7,7 +7,7 @@ import java.util.concurrent.ForkJoinPool; import java.util.function.Predicate; public class CustomRunner implements ParallelExecutionConfiguration, ParallelExecutionConfigurationStrategy { - private static final int FIXED_PARALLELISM = 2; + private static final int FIXED_PARALLELISM = 4; static { System.out.println("THREADS: " + FIXED_PARALLELISM); diff --git a/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicationsRelatedSteps.java b/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicationsRelatedSteps.java index f6f67e27c..79a2fd635 100644 --- a/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicationsRelatedSteps.java +++ b/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicationsRelatedSteps.java @@ -277,6 +277,7 @@ public void thePublicationTextIsCorrectWithHGVsAndLGVs(String publicationType, S public void iNavigateToTheApplicationPublicationsPage() throws HttpException { world.internalNavigation.navigateToPage("application", SelfServeSection.VIEW); world.internalUIJourney.payFeeAndPublishLicence(); + world.internalNavigation.navigateToPage("application", SelfServeSection.VIEW); clickByLinkText("Processing"); waitForTextToBePresent("Processing"); clickByLinkText("Publications"); diff --git a/src/test/resources/org/dvsa/testing/framework/features/Internal/Surrender/Sign-In/int-surrender-logic.feature b/src/test/resources/org/dvsa/testing/framework/features/Internal/Surrender/Sign-In/int-surrender-logic.feature index 4a22169dd..553095bc6 100644 --- a/src/test/resources/org/dvsa/testing/framework/features/Internal/Surrender/Sign-In/int-surrender-logic.feature +++ b/src/test/resources/org/dvsa/testing/framework/features/Internal/Surrender/Sign-In/int-surrender-logic.feature @@ -13,7 +13,7 @@ Feature: Logic for Surrender menu item Scenario: Surrender Licence And my application to surrender is under consideration When the caseworker approves the surrender - Then the licence status should be "SURRENDERED" + Then the licence status should be "Surrendered" And the surrender menu should be hidden in internal And the licence should not displayed in selfserve diff --git a/src/test/resources/org/dvsa/testing/framework/features/SelfServe/LGV Only/application/new-application-publications.feature b/src/test/resources/org/dvsa/testing/framework/features/SelfServe/LGV Only/application/new-application-publications.feature index 92c0f5ed8..9007799e7 100644 --- a/src/test/resources/org/dvsa/testing/framework/features/SelfServe/LGV Only/application/new-application-publications.feature +++ b/src/test/resources/org/dvsa/testing/framework/features/SelfServe/LGV Only/application/new-application-publications.feature @@ -5,6 +5,7 @@ Feature: Publications display the right LGV related information on LGV only lice Scenario: A submitted LGV Only application generated a publication correctly on internal Given I have a submitted "GB" lgv only application And i navigate to the application publications page + And I view the application publications page Then the new application publication for LGV Only should be correct on internal @ss_regression @FullRegression