use of com.iluwatar.pageobject.pages.AlbumPage in project java-design-patterns by iluwatar.
the class AlbumListPageTest method testSelectAlbum.
@Test
public void testSelectAlbum() {
AlbumPage albumPage = albumListPage.selectAlbum("21");
albumPage.navigateToPage();
assertTrue(albumPage.isAt());
}
use of com.iluwatar.pageobject.pages.AlbumPage in project java-design-patterns by iluwatar.
the class AlbumPageTest method testSaveAlbum.
@Test
public void testSaveAlbum() {
AlbumPage albumPageAfterChanges = albumPage.changeAlbumTitle("25").changeArtist("Adele Laurie Blue Adkins").changeAlbumYear(2015).changeAlbumRating("B").changeNumberOfSongs(20).saveChanges();
assertTrue(albumPageAfterChanges.isAt());
}