René's URL Explorer Experiment


Title: Using QUnit.todo() causes build to fail instead of succeed · Issue #247 · browserstack/browserstack-runner · GitHub

Open Graph Title: Using QUnit.todo() causes build to fail instead of succeed · Issue #247 · browserstack/browserstack-runner

X Title: Using QUnit.todo() causes build to fail instead of succeed · Issue #247 · browserstack/browserstack-runner

Description: Expected Behavior Passing test. Actual Behavior [Windows 7, Firefox 45.0] Error: "my todo test" failed Expected: true Actual: false Details This is happening because when browserstack-runner is consuming the testEnd event from js-reporte...

Open Graph Description: Expected Behavior Passing test. Actual Behavior [Windows 7, Firefox 45.0] Error: "my todo test" failed Expected: true Actual: false Details This is happening because when browserstack-runner is con...

X Description: Expected Behavior Passing test. Actual Behavior [Windows 7, Firefox 45.0] Error: "my todo test" failed Expected: true Actual: false Details This is happening because when browserstack-run...

Opengraph URL: https://github.com/browserstack/browserstack-runner/issues/247

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using QUnit.todo() causes build to fail instead of succeed","articleBody":"## Expected Behavior\r\nPassing test.\r\n\r\n## Actual Behavior\r\n```\r\n[Windows 7, Firefox 45.0] Error: \"my todo test\" failed\r\nExpected: true\r\n  Actual: false\r\n```\r\n\r\n## Details\r\n\r\nThis is happening because when browserstack-runner is consuming the `testEnd` event from js-reporters, it is ignoring the `status` field. Instead of only priting formatted errors for `query.test.status === \"failed\"`, it is instead iterating over `query.test.errors` and always print each one as a formatted error, even if it is an expected error (such as the case with a \"todo\" test).\r\n\r\nHere is the test suite for the linked example in the browser visually (**passing**):\r\n\u003cimg height=\"300\" alt=\"capture\" src=\"https://user-images.githubusercontent.com/156867/120940256-41ac0d00-c714-11eb-9b15-97445078786f.png\"\u003e\r\n\r\n\r\nAnd here is what browserstack-runner report for that same build (**failing**):\r\n\r\nhttps://github.com/qunitjs/qunit/runs/2753071016\r\n```\r\n[OS X Big Sur, Safari 14.0] Error: \"test.todo.each [0]\" failed\r\nExpected: true\r\n  Actual: false\r\n  Source: runTest@http://localhost:8899/qunit/qunit.js:2262:41\r\n\t  run@http://localhost:8899/qunit/qunit.js:2250:16\r\n\t  http://localhost:8899/qunit/qunit.js:2472:19\r\n\t  processTaskQueue@http://localhost:8899/qunit/qunit.js:1860:37\r\n\t  http://localhost:8899/qunit/qunit.js:1864:29\r\n\t  promiseReactionJob@[native code]\r\n```","author":{"url":"https://github.com/Krinkle","@type":"Person","name":"Krinkle"},"datePublished":"2021-06-06T21:13:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/247/browserstack-runner/issues/247"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a529cbc8-37da-bd0f-651f-4d358812f1a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD3A8:31608E:648B103:8403E64:696DB66B
html-safe-nonced0cd5f39a55816fb6d45a88caa51b4d12350a072ffb93bdcd4d38b967ae53ac4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0E4OjMxNjA4RTo2NDhCMTAzOjg0MDNFNjQ6Njk2REI2NkIiLCJ2aXNpdG9yX2lkIjoiMTc2MDU2MDAxNDY5MTI1MTgxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3e5bd2bebb17752b76232657a2b6580fe099aa0f784bef766b63ae66ba2596f4
hovercard-subject-tagissue:912949718
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/browserstack-runner/247/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bb500ca49df7fb180b2604f59f7d5f9a61109cee682bca7a013cc3baca623f57/browserstack/browserstack-runner/issues/247
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bb500ca49df7fb180b2604f59f7d5f9a61109cee682bca7a013cc3baca623f57/browserstack/browserstack-runner/issues/247
og:image:altExpected Behavior Passing test. Actual Behavior [Windows 7, Firefox 45.0] Error: "my todo test" failed Expected: true Actual: false Details This is happening because when browserstack-runner is con...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKrinkle
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-preview
go-importgithub.com/browserstack/browserstack-runner git https://github.com/browserstack/browserstack-runner.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id11685362
octolytics-dimension-repository_nwobrowserstack/browserstack-runner
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id11685362
octolytics-dimension-repository_network_root_nwobrowserstack/browserstack-runner
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues/247#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-runner%2Fissues%2F247
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-runner%2Fissues%2F247
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=browserstack%2Fbrowserstack-runner
Reloadhttps://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues/247
Reloadhttps://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues/247
Reloadhttps://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues/247
browserstack https://patch-diff.githubusercontent.com/browserstack
browserstack-runnerhttps://patch-diff.githubusercontent.com/browserstack/browserstack-runner
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-runner
Fork 62 https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-runner
Star 135 https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-runner
Code https://patch-diff.githubusercontent.com/browserstack/browserstack-runner
Issues 12 https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues
Pull requests 18 https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/pulls
Actions https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/actions
Projects 0 https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/projects
Wiki https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/security
Please reload this pagehttps://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues/247
Insights https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/pulse
Code https://patch-diff.githubusercontent.com/browserstack/browserstack-runner
Issues https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues
Pull requests https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/pulls
Actions https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/actions
Projects https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/projects
Wiki https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/wiki
Security https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/security
Insights https://patch-diff.githubusercontent.com/browserstack/browserstack-runner/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/browserstack/browserstack-runner/issues/247
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/browserstack/browserstack-runner/issues/247
#249https://github.com/browserstack/browserstack-runner/pull/249
Using QUnit.todo() causes build to fail instead of succeedhttps://patch-diff.githubusercontent.com/browserstack/browserstack-runner/issues/247#top
#249https://github.com/browserstack/browserstack-runner/pull/249
https://github.com/Krinkle
https://github.com/Krinkle
Krinklehttps://github.com/Krinkle
on Jun 6, 2021https://github.com/browserstack/browserstack-runner/issues/247#issue-912949718
https://user-images.githubusercontent.com/156867/120940256-41ac0d00-c714-11eb-9b15-97445078786f.png
https://github.com/qunitjs/qunit/runs/2753071016https://github.com/qunitjs/qunit/runs/2753071016
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.