Catalog alignment
[sdc.git] / ui-ci / src / main / java / org / openecomp / sdc / ci / tests / pages / DeploymentArtifactPage.java
index 669a79a..bc0165b 100644 (file)
@@ -168,7 +168,7 @@ public class DeploymentArtifactPage extends GeneralPageElements {
         SetupCDTest.getExtendTest().log(Status.INFO, "Verifying the artifacts in the table");\r
         List<String> artifactList = Lists.newArrayList(artifactsFromZipFile).stream().filter(p -> !p.contains(".env")).map(p -> getVisualArtifactName(p)).collect(Collectors.toList());\r
         try {\r
-            List<WebElement> rows = GeneralUIUtils.getElementsByCSS("div div[data-tests-id^='artifact-item'] span[data-tests-id^='artifactDisplayName']");\r
+            List<WebElement> rows = GeneralUIUtils.getWebElementsListByContainsClassName("datatable-body-row");\r
             for (WebElement r : rows) {\r
                 String artifactDisplayed = r.getAttribute("textContent").trim();\r
                 if (artifactList.contains(artifactDisplayed)) {\r