diff options
author | JulienBe <julien.bertozzi@intl.att.com> | 2020-08-25 22:20:30 +0200 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2020-09-02 06:55:42 +0000 |
commit | 930ed2515529bd7ff054b083816587b6d46f56b5 (patch) | |
tree | f6609e186e4c15c6149ebc1196c89fa1175c978d /integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/UiTestFlow.java | |
parent | 6912567fc8eb045cc10868a01fb62dfbb2cd9937 (diff) |
Add sdc startup in IT
Add the UI part with the latest selenium and firefox driver in headless
Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I5c5da5a26eda3042d94995f67937c105edef74c0
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Diffstat (limited to 'integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/UiTestFlow.java')
-rw-r--r-- | integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/UiTestFlow.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/UiTestFlow.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/UiTestFlow.java new file mode 100644 index 0000000000..513a62664c --- /dev/null +++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/UiTestFlow.java @@ -0,0 +1,39 @@ +/* + * ============LICENSE_START======================================================= + * Copyright (C) 2019 Nordix Foundation + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.sdc.frontend.ci.tests.flow; + +import org.onap.sdc.frontend.ci.tests.pages.PageObject; + +import java.util.Optional; + +/** + * Represents a UI test flow + */ +@FunctionalInterface +public interface UiTestFlow { + + /** + * Runs the flow + * @param pageObjects any required page object for the flow + * @return an optional page object representing the page that the flow has ended + */ + Optional<PageObject> run(final PageObject... pageObjects); + +} |