summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java
blob: d63b8a1917716b7a4a3cc6a572d869edef750291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package vid.automation.test.sections;

import org.openecomp.sdc.ci.tests.utilities.GeneralUIUtils;
import vid.automation.test.Constants;
import vid.automation.test.model.Service;

/**
 * Created by itzikliderman on 13/06/2017.
 */
public class CreateNewInstancePage extends VidBasePage {

    public CreateNewInstancePage clickCloseButton() {
        GeneralUIUtils.clickOnElementByTestId(Constants.MSO_COMMIT_DIALOG_CLOSE_BUTTON, 30);
        return this;
    }

    public String generateInstanceName() {
        return generateInstanceName(Constants.CreateNewInstance.SERVICE_INSTANCE_NAME_PREFIX);
    }

}