Skip to content

Commit

Permalink
#5341 remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Apr 8, 2024
1 parent f4761f8 commit 66d1f66
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package io.github.epam.material.tests.navigation.drawer;

import com.epam.jdi.light.elements.common.UIElement;
import io.github.com.custom.elements.CustomSiteListItem;
import io.github.epam.TestsInit;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

import java.util.List;

import static io.github.com.StaticSite.responsiveDrawerPage;
import static io.github.com.pages.navigation.ResponsiveDrawerPage.responsiveDrawer;
import static com.epam.jdi.light.material.elements.utils.enums.Position.LEFT;
Expand All @@ -26,7 +29,8 @@ public void responsiveDrawerTest() {
responsiveDrawer.topList().items().get(3).has().text("Drafts");
responsiveDrawer.topList().items().get(2).with(CustomSiteListItem.class).icon().is().displayed();
responsiveDrawer.bottomList().has().size(3);
responsiveDrawer.bottomList().items().get(1).has().text("Trash");
responsiveDrawer.bottomList().items().get(0).with(CustomSiteListItem.class).icon().is().displayed();
List<UIElement> items = responsiveDrawer.bottomList().items();
items.get(1).has().text("Trash");
items.get(0).with(CustomSiteListItem.class).icon().is().displayed();
}
}

0 comments on commit 66d1f66

Please sign in to comment.