Migrated from GitHub trtmn/signature
- HTML 63.7%
- Cython 34.8%
- Python 1.5%
| assets | ||
| node_modules | ||
| scripts | ||
| signatures | ||
| tests | ||
| Bottom image.psdt | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Email Signature Tests
This repository contains tests to verify that the fish icon in the email signature loads properly.
Files
clean_signature.html- Email signature with base64-encoded fish iconpersonal_signature.html- Email signature with direct reference to fish.pngtest_signature.js- Playwright tests to verify image loading
Setup
- Install dependencies:
npm install
- Install Playwright browsers:
npx playwright install chromium
Running Tests
Run the tests with:
npm test
Test Description
The tests verify that:
- The base64-encoded fish icon in clean_signature.html loads properly
- The direct reference to fish.png in personal_signature.html loads properly
Troubleshooting
If the image doesn't load:
- Check that the fish.png file exists in the root directory
- Ensure the base64 encoding doesn't have line breaks
- Verify the MIME type is correct (image/png)