Commits

Peggy Kuo  committed 86892dc

CONFATT-85 CONFDEV-15047 Fixing tests - we now use the ADG labels, so class name is aui-label

  • Participants
  • Parent commits 4822f25

Comments (0)

Files changed (1)

File src/test/java/it/com/atlassian/confluence/extra/attachments/pageobjects/AttachmentSummary.java

 package it.com.atlassian.confluence.extra.attachments.pageobjects;
 
-import java.net.MalformedURLException;
-import java.net.URL;
-
 import com.atlassian.confluence.it.Attachment;
 import com.atlassian.confluence.it.Page;
 import com.atlassian.confluence.it.User;
 import com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent;
 import com.atlassian.confluence.pageobjects.component.dialog.LabelsDialog;
 import com.atlassian.pageobjects.elements.PageElement;
-
 import org.openqa.selenium.By;
 
+import java.net.MalformedURLException;
+import java.net.URL;
+
 import static com.atlassian.pageobjects.elements.query.Poller.waitUntilEquals;
 import static com.atlassian.pageobjects.elements.query.Poller.waitUntilFalse;
 import static com.atlassian.pageobjects.elements.query.Poller.waitUntilTrue;
 
     public void assertDisplayedLabels(String expectedLabels)
     {
-        final PageElement labelList = getLabelsContent().find(By.cssSelector(".label"));
+        final PageElement labelList = getLabelsContent().find(By.cssSelector(".aui-label"));
         waitUntilEquals(expectedLabels, labelList.timed().getText());
     }