Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- browser.Visit(uriContext.Uri.ToString());
- var deadline = DateTime.UtcNow.Add(WebAppWarmUpTimeout);
- while (DateTime.UtcNow < deadline)
- {
- if (browser.HasContent("404 - File or directory not found.", SmallTimeoutOptions))
- {
- Assert.Fail("404");
- }
- else if (browser.FindCss("body nav a", "Job Search", SmallTimeoutOptions).Exists())
- {
- break;
- }
- }
Add Comment
Please, Sign In to add comment