From 0537b8ce368278b0e8358bd60e56151f8c8961a7 Mon Sep 17 00:00:00 2001 From: vasraz Date: Mon, 1 Nov 2021 12:24:40 +0000 Subject: Fix 'unable to run TCs separately' running TC 'ImportVfcUiTest.importVfcWithModel()' separately produces initialization error Signed-off-by: Vasyl Razinkov Change-Id: I5ce70532bb66e31565b74d96accd89da7e9fafed Issue-ID: SDC-3770 --- .../onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integration-tests/src') 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); -- cgit 1.2.3-korg