Title: 16j · Issue #167 · SuperSimpleDev/javascript-course · GitHub
Open Graph Title: 16j · Issue #167 · SuperSimpleDev/javascript-course
X Title: 16j · Issue #167 · SuperSimpleDev/javascript-course
Description: can sommeonew explain why i get the error [ cannot read properties of null(reading 'innerText')] should i call the renderpaymentSummary() inside this testcase? it('update delivery option', () => { document.querySelector(`.js-delivery-opt...
Open Graph Description: can sommeonew explain why i get the error [ cannot read properties of null(reading 'innerText')] should i call the renderpaymentSummary() inside this testcase? it('update delivery option', () => { ...
X Description: can sommeonew explain why i get the error [ cannot read properties of null(reading 'innerText')] should i call the renderpaymentSummary() inside this testcase? it('update delivery optio...
Opengraph URL: https://github.com/SuperSimpleDev/javascript-course/issues/167
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"16j","articleBody":"can sommeonew explain why i get the error [ cannot read properties of null(reading 'innerText')]\nshould i call the renderpaymentSummary() inside this testcase?\n\nit('update delivery option', () =\u003e {\n\n document.querySelector(`.js-delivery-option-${productId1}-3`).click();\n \n expect(document.querySelector(`.js-delivery-option-input-${productId1}-3`).checked).toEqual(true);\n\n expect(cart.length).toEqual(2);\n expect(cart[0].productId).toEqual(productId1);\n expect(cart[0].deliveryOptionId).toEqual('3');\n\n const a=document.querySelector('.js-payment-summary-shipping');\n expect((a).innerText).toEqual('$14.98');\n\n const b=document.querySelector('.js-payment-summary-total');\n expect((b).innerText).toEqual('$63.50');\n });\n\n\n\ntest suite: renderOrderSummary\u003eupdate delivery option\nTypeError: Cannot read properties of null (reading 'innerText')\n at UserContext.\u003canonymous\u003e (http://127.0.0.1:5500/tests/checkout/orderSummaryTest.js:96:16)\n at \u003cJasmine\u003e","author":{"url":"https://github.com/K-ESWAR","@type":"Person","name":"K-ESWAR"},"datePublished":"2025-05-15T12:06:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/167/javascript-course/issues/167"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7da4faaf-8c40-a008-bd0b-e28a72155022 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A992:122E03:4B09206:65E2A3D:697312B6 |
| html-safe-nonce | 35dec0fe2dca9704f54661912df0b7bb5f4f640420703c911b1aa35afed821b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTkyOjEyMkUwMzo0QjA5MjA2OjY1RTJBM0Q6Njk3MzEyQjYiLCJ2aXNpdG9yX2lkIjoiNjk1MzIxMDI4MTk3MDU2OTkxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f43eebe99e1f2a856e8112a33151a4c86870eff4e7df35d2f25f0a0f200f463 |
| hovercard-subject-tag | issue:3066019751 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SuperSimpleDev/javascript-course/167/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97d8a1de4444f4e4a6c931d683b0fe571aa1cfa7eeaced52e22cd859bbd6e92d/SuperSimpleDev/javascript-course/issues/167 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97d8a1de4444f4e4a6c931d683b0fe571aa1cfa7eeaced52e22cd859bbd6e92d/SuperSimpleDev/javascript-course/issues/167 |
| og:image:alt | can sommeonew explain why i get the error [ cannot read properties of null(reading 'innerText')] should i call the renderpaymentSummary() inside this testcase? it('update delivery option', () => { ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | K-ESWAR |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/SuperSimpleDev/javascript-course git https://github.com/SuperSimpleDev/javascript-course.git |
| octolytics-dimension-user_id | 70604577 |
| octolytics-dimension-user_login | SuperSimpleDev |
| octolytics-dimension-repository_id | 629995573 |
| octolytics-dimension-repository_nwo | SuperSimpleDev/javascript-course |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 629995573 |
| octolytics-dimension-repository_network_root_nwo | SuperSimpleDev/javascript-course |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width