Skip to content

Commit

Permalink
fix: test opt
Browse files Browse the repository at this point in the history
  • Loading branch information
sr4850 committed Dec 17, 2024
1 parent 6a4220c commit 442d90b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
11 changes: 5 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.version>3.13.0</maven.compiler.version>

<active-support.version>2.5.6</active-support.version>
<active-support.version>2.5.7</active-support.version>
<api-calls.version>2.7.1</api-calls.version>
<uri-constructor.version>2.0.6</uri-constructor.version>

Expand Down Expand Up @@ -243,13 +243,12 @@
<configuration>
<skip>true</skip>
<testFailureIgnore>true</testFailureIgnore>
<forkCount>3</forkCount>
<argLine>-Xmx${jvmMemory}m</argLine> <includes>
<argLine>-Xmx${jvmMemory}m</argLine>
<includes>
<include>**/**.java</include>
</includes>
<parallel>methods</parallel>
<threadCount>4</threadCount>
<reuseForks>true</reuseForks>
<parallel>suites</parallel>
<threadCount>5</threadCount>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import static org.openqa.selenium.support.ui.ExpectedConditions.*;

public abstract class BasePage extends DriverUtils {
public static final int WAIT_TIME_SECONDS = 5;
public static final int WAIT_TIME_SECONDS = 7;
private static final int TIME_OUT_SECONDS = 60;
private static final int POLLING_SECONDS = 2;
private static final Logger LOGGER = LogManager.getLogger(BasePage.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ public void tearDown(Scenario scenario) throws Exception {
if (Browser.isBrowserOpen()) {
Browser.closeBrowser();
}
Browser.removeLocalDriverThread();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Feature: import EBSR for English, Welsh and Scottish Areas

@ss_regression @FullRegression @printAndSign
Scenario Outline: Short notice import EBSR in self-serve (Resource-A)
Scenario Outline: Short notice import EBSR in self-serve
Given I have a psv application with traffic area "<Area>" and enforcement area "<Area>" which has been granted
When I upload an ebsr file with "<Days>" days notice
Then A short notice flag should be displayed in selfserve
Expand All @@ -16,7 +16,7 @@ Feature: import EBSR for English, Welsh and Scottish Areas
| west | 41 |

@ss_regression @FullRegression @printAndSign
Scenario Outline: import EBSR in self-serve (Resource-B)
Scenario Outline: import EBSR in self-serve
Given I have a psv application with traffic area "<Area>" and enforcement area "<Area>" which has been granted
When I upload an ebsr file with "<Days>" days notice
Then A short notice flag should not be displayed in selfserve
Expand All @@ -41,22 +41,22 @@ Feature: import EBSR for English, Welsh and Scottish Areas
| north_east | 41 | curtail |
| wales | 55 | suspend |

@ec2_smoke
Scenario: Short notice import EBSR in self-serve smoke test (Resource-B)

Scenario: Short notice import EBSR in self-serve smoke test
Given I have a psv application with traffic area "west" and enforcement area "west" which has been granted
# When i trigger the ebsr process queue
When I upload an ebsr file with "41" days notice
Then A short notice flag should be displayed in selfserve
And Documents are generated

@ebsrsmoketest @localsmoke
Scenario: import EBSR in self-serve smoke test (Resource-B)
Scenario: import EBSR in self-serve smoke test
Given I have a psv application with traffic area "west" and enforcement area "west" which has been granted
When I upload an ebsr file with "42" days notice
Then A short notice flag should not be displayed in selfserve
And Documents are generated

@ec2_smoke

Scenario: import EBSR for curtailed and suspended licence in self-serve smoke test (Resource-B)
Given I have a psv application with traffic area "north_east" and enforcement area "north_east" which has been granted
And the licence status is "curtail"
Expand Down

0 comments on commit 442d90b

Please sign in to comment.