diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-11-01 12:24:40 +0000 |
---|---|---|
committer | Andr� Schmid <andre.schmid@est.tech> | 2021-11-02 16:39:16 +0000 |
commit | 0537b8ce368278b0e8358bd60e56151f8c8961a7 (patch) | |
tree | a285c062427a7c85c590240504016c4e2ec8f594 /integration-tests/src/test/java/org | |
parent | 31bfab860800308a86430bd03628c3ea17cd9115 (diff) |
Fix 'unable to run TCs separately'
running TC 'ImportVfcUiTest.importVfcWithModel()' separately produces initialization error
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I5ce70532bb66e31565b74d96accd89da7e9fafed
Issue-ID: SDC-3770
Diffstat (limited to 'integration-tests/src/test/java/org')
-rw-r--r-- | integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java index fa02b4440b..834732b6f2 100644 --- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java +++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java @@ -80,13 +80,13 @@ public class ImportVfcUiTest extends SetupCDTest { @BeforeClass public void beforeClass() { filePath = FileHandling.getFilePath("VFCs/"); + webDriver = DriverFactory.getDriver(); + homePage = new HomePage(webDriver); } @Test public void importVFC_createVF_addVFC2VF_test() throws UnzipException { ComponentPage componentPage; - webDriver = DriverFactory.getDriver(); - homePage = new HomePage(webDriver); // TC - Import VFC with root namespace String fileName = "org.openecomp.resource.VFC-root.yml"; CreateVfcFlow createVfcFlow = createVFC(fileName, ModelName.DEFAULT_MODEL_NAME.getName(), vfcCategory); |