Skip to content

Instantly share code, notes, and snippets.

@DominikMostek
Created July 20, 2022 11:10
Show Gist options
  • Save DominikMostek/6a2ead0045af291c04890e8bead24f90 to your computer and use it in GitHub Desktop.
Save DominikMostek/6a2ead0045af291c04890e8bead24f90 to your computer and use it in GitHub Desktop.
@Test
public void shouldNavigateToPhotosPage() {
String baseUrl = "http://plus.google.com/";
Navigator nav = new Navigator(baseUrl);
nav.goToPhotosPage();
assertEquals(baseUrl + "/u/0/photos", nav.getCurrentUrl());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment