Skip to content

Commit 4ccb92e

Browse files
authored
Fix function test name consistency (#87)
1 parent b49e882 commit 4ccb92e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/functionaltest/java/com/ericsson/ei/frontend/SubscriptionHandlingFunctionality.java renamed to src/functionaltest/java/com/ericsson/ei/frontend/TestSubscriptionHandling.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import com.ericsson.ei.frontend.pageobjects.IndexPage;
1717
import com.ericsson.ei.frontend.pageobjects.SubscriptionPage;
1818

19-
public class SubscriptionHandlingFunctionality extends SeleniumBaseClass {
19+
public class TestSubscriptionHandling extends SeleniumBaseClass {
2020

2121
@MockBean
2222
protected CloseableHttpClient mockedHttpClient;
@@ -37,7 +37,7 @@ public class SubscriptionHandlingFunctionality extends SeleniumBaseClass {
3737
private JavascriptExecutor js;
3838

3939
@Test
40-
public void testSubscription() throws Exception {
40+
public void testSubscriptionHandlingWithLDAPEnabled() throws Exception {
4141
// Open index page.
4242
IndexPage indexPageObject = new IndexPage(mockedHttpClient, driver, baseUrl);
4343
indexPageObject.loadPage();
@@ -207,18 +207,18 @@ public void testSubscription() throws Exception {
207207
subscriptionPage.addFieldValue(userNameID, userName);
208208
subscriptionPage.addFieldValue(tokenID, token);
209209
String kvID = "kvID";
210-
subscriptionPage.clickKVbtn(kvID);
210+
subscriptionPage.clickKVbtn(kvID);
211211
assert (new WebDriverWait(driver, 10).until((webdriver) -> driver.getPageSource().contains("Authorization")));
212-
212+
213213
// Test "Repeat" dropdown: Select repeat value as "true" and then verify the selected value
214214
subscriptionPage.selectDropdown(selectRepeatID, repeatValue);
215215
assert (new WebDriverWait(driver, 10)
216216
.until((webdriver) -> (subscriptionPage.getValueFromSelectRepeat().equals(repeatValue))));
217-
217+
218218
// Test "Add Condition" button: click add condition button and check that it adds an additional "condition" field
219219
subscriptionPage.clickAddConditionBtn();
220220
assertEquals(2, subscriptionPage.countElements(conditionFieldID));
221-
221+
222222
// Test "Add Requirement" button: click the button and assert that it adds an additional "requirement" field
223223
subscriptionPage.clickAddRequirementBtn();
224224
assertEquals(2, subscriptionPage.countElements(requirementFieldID));

0 commit comments

Comments
 (0)