Bumblebee.IntegrationTests.Setup.ThreadedSessionTests.Given_session_already_loaded_with_navigation_When_getting_matching_current_block_Then_should_return_block C# (CSharp) Метод

Given_session_already_loaded_with_navigation_When_getting_matching_current_block_Then_should_return_block() приватный Метод

		public void Given_session_already_loaded_with_navigation_When_getting_matching_current_block_Then_should_return_block()
		{
			Threaded<Session>
				.With<PhantomJS>()
				.NavigateTo<LoggedOutPage>("https://www.nirvanahq.com/account/login");

			Threaded<Session>
				.CurrentBlock<LoggedOutPage>()
				.Verify(x => x.Session.Driver.PageSource.Contains("Username or Email Address"))
				.Session.End();
		}