Bumblebee.Examples.Web.IntegrationTests.RedditTests.given_logged_out_at_front_page_when_clicking_random_featured_subreddit_first_page_should_start_with_1_and_second_page_should_start_with_26 C# (CSharp) Méthode

given_logged_out_at_front_page_when_clicking_random_featured_subreddit_first_page_should_start_with_1_and_second_page_should_start_with_26() private méthode

		public void given_logged_out_at_front_page_when_clicking_random_featured_subreddit_first_page_should_start_with_1_and_second_page_should_start_with_26()
		{
			Threaded<Session>
				.CurrentBlock<LoggedOutPage>()
				.FeaturedSubreddits
				.Take(5)
				.Random()
				.Click()
				.DebugPrint(page =>
					page.RankedPosts
						.Select(post => post.Title.Text))
				.VerifyThat(page =>
					page.RankedPosts
						.First().Rank
						.Should().Be("1", "the first page should start with a rank of 1"))
				.Next.Click()
				.VerifyThat(page =>
					page.RankedPosts
						.First().Rank
						.Should().Be("26", "the second page should start with a rank of 26"));
		}
	}