Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix E2E test use of logs #27114

Merged
merged 4 commits into from Oct 23, 2020
Merged

Conversation

SteveSandersonMS
Copy link
Member

@SteveSandersonMS SteveSandersonMS commented Oct 22, 2020

Restores support for reading logs like before.

@Pilchie Pilchie added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Oct 22, 2020
@SteveSandersonMS SteveSandersonMS marked this pull request as ready for review October 22, 2020 21:35
@SteveSandersonMS SteveSandersonMS requested a review from a team as a code owner October 22, 2020 21:35
@@ -342,5 +342,14 @@ private async Task<(IWebDriver browser, ILogs log)> CreateSauceBrowserAsync(stri

throw new InvalidOperationException("Couldn't create a SauceLabs remote driver client.");
}

// This is a workaround for https://github.com/SeleniumHQ/selenium/issues/8229
private class RemoteWebDriverWithLogs : RemoteWebDriver, ISupportsLogs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was easy

@SteveSandersonMS SteveSandersonMS merged commit 05f7554 into master Oct 23, 2020
@SteveSandersonMS SteveSandersonMS deleted the stevesa/fix-e2e-test-use-of-logs branch October 23, 2020 06:26
SteveSandersonMS added a commit that referenced this pull request Oct 23, 2020
* Restore support for logs in E2E tests. Fixes #25803

* Revert earlier workaround

* Update message in assertion

* Remove redundant script references
wtgodbe pushed a commit that referenced this pull request Feb 11, 2021
* Restore support for logs in E2E tests. Fixes #25803

* Revert earlier workaround

* Update message in assertion

* Remove redundant script references
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants