Skip to content

Fix totals in the HTML mode#66

Merged
DmitrySharabin merged 1 commit intomainfrom
fix-totals
Jan 22, 2025
Merged

Fix totals in the HTML mode#66
DmitrySharabin merged 1 commit intomainfrom
fix-totals

Conversation

@DmitrySharabin
Copy link
Copy Markdown
Member

Number of passed and failed tests are in the content property of the ::before pseudo element, not in textContent, so the totals are not updated. Since we already have the --pass and --fail custom properties on <body>, we can use them to update the totals.

@netlify
Copy link
Copy Markdown

netlify bot commented Jan 22, 2025

Deploy Preview for h-test ready!

Name Link
🔨 Latest commit 1f1d565
🔍 Latest deploy log https://app.netlify.com/sites/h-test/deploys/67917dc70fd6d6000846dd29
😎 Deploy Preview https://deploy-preview-66--h-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@DmitrySharabin DmitrySharabin marked this pull request as ready for review January 22, 2025 23:23
@DmitrySharabin DmitrySharabin merged commit e035f60 into main Jan 22, 2025
@DmitrySharabin DmitrySharabin deleted the fix-totals branch January 22, 2025 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants