chore: update deps #6015
Annotations
15 errors and 3 notices
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should handle document with text alignment:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L422
Error: Snapshot `react email exporter > should handle document with text alignment > __snapshots__/reactEmailExporterTextAlignment 1` mismatched
Expected: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;align-items:center"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Center aligned text</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:right;align-items:flex-end"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Right aligned text</span></p></td></tr></tbody></table><!--7--><!--/$--></body></html>""
Received: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--html--><!--head--><!--body--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;align-items:center"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Center aligned text</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:right;align-items:flex-end"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Right aligned text</span></p></td></tr></tbody></table><!--/$--></body></html>""
❯ src/react-email/reactEmailExporter.test.tsx:422:18
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should handle document with mixed content types:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L381
Error: Snapshot `react email exporter > should handle document with mixed content types > __snapshots__/reactEmailExporterMixedContent 1` mismatched
Expected: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><h1 style="font-size:48px;margin:3px"><span>Main Heading</span></h1></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Regular paragraph with </span><span style="font-weight:bold">bold text</span></p></td></tr></tbody></table><ol start="1" style="margin-bottom:0.5rem;list-style-type:decimal;padding-left:1.5rem"><li><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Numbered list item</span></p></li></ol><!--7--><!--/$--></body></html>""
Received: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--html--><!--head--><!--body--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><h1 style="font-size:48px;margin:3px"><span>Main Heading</span></h1></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Regular paragraph with </span><span style="font-weight:bold">bold text</span></p></td></tr></tbody></table><ol start="1" style="margin-bottom:0.5rem;list-style-type:decimal;padding-left:1.5rem"><li><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Numbered list item</span></p></li></ol><!--/$--></body></html>""
❯ src/react-email/reactEmailExporter.test.tsx:381:18
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should handle document with nested lists:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L324
Error: Snapshot `react email exporter > should handle document with nested lists > __snapshots__/reactEmailExporterNestedLists 1` mismatched
Expected: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><ul style="margin-bottom:0.5rem;list-style-type:disc;padding-left:1.5rem"><li><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Parent item</span></p><ul style="margin-bottom:0.5rem;list-style-type:disc;padding-left:1.5rem"><li><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Child item</span></p></li></ul></li></ul><!--7--><!--/$--></body></html>""
Received: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--html--><!--head--><!--body--><ul style="margin-bottom:0.5rem;list-style-type:disc;padding-left:1.5rem"><li><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Parent item</span></p><ul style="margin-bottom:0.5rem;list-style-type:disc;padding-left:1.5rem"><li><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Child item</span></p></li></ul></li></ul><!--/$--></body></html>""
❯ src/react-email/reactEmailExporter.test.tsx:324:18
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should handle document with links:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L284
Error: Snapshot `react email exporter > should handle document with links > __snapshots__/reactEmailExporterWithLinks 1` mismatched
Expected: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><a href="https://example.com" style="color:#067df7;text-decoration-line:none" target="_blank"><span>Click here</span></a></p></td></tr></tbody></table><!--7--><!--/$--></body></html>""
Received: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--html--><!--head--><!--body--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><a href="https://example.com" style="color:#067df7;text-decoration-line:none" target="_blank"><span>Click here</span></a></p></td></tr></tbody></table><!--/$--></body></html>""
❯ src/react-email/reactEmailExporter.test.tsx:284:18
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should handle document with styled text:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L252
Error: Snapshot `react email exporter > should handle document with styled text > __snapshots__/reactEmailExporterStyledText 1` mismatched
Expected: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-weight:bold;font-style:italic">Bold and italic text</span></p></td></tr></tbody></table><!--7--><!--/$--></body></html>""
Received: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--html--><!--head--><!--body--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-weight:bold;font-style:italic">Bold and italic text</span></p></td></tr></tbody></table><!--/$--></body></html>""
❯ src/react-email/reactEmailExporter.test.tsx:252:18
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should handle document with only text blocks:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L223
Error: Snapshot `react email exporter > should handle document with only text blocks > __snapshots__/reactEmailExporterSimpleText 1` mismatched
Expected: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Simple text content</span></p></td></tr></tbody></table><!--7--><!--/$--></body></html>""
Received: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--html--><!--head--><!--body--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Simple text content</span></p></td></tr></tbody></table><!--/$--></body></html>""
❯ src/react-email/reactEmailExporter.test.tsx:223:18
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should handle empty document:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L197
Error: Snapshot `react email exporter > should handle empty document > __snapshots__/reactEmailExporterEmpty 1` mismatched
Expected: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--7--><!--/$--></body></html>""
Received: ""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><!--html--><!--head--><!--body--><!--/$--></body></html>""
❯ src/react-email/reactEmailExporter.test.tsx:197:18
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should export a document with multiple preview lines:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L185
Error: Snapshot `react email exporter > should export a document with multiple preview lines > __snapshots__/reactEmailExporterWithMultiplePreview 1` mismatched
- Expected
+ Received
- "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0" data-skip-in-text="true">First preview lineSecond preview line<div> </div></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-style:italic">Welcome to this </span><span style="font-style:italic;font-weight:bold">demo 🙌!</span></p></td></tr></tbody></table><div style="margin-left:24px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Hello World nested</span></p></td></tr></tbody></table><div style="margin-left:24px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Hello World double nested</span></p></td></tr></tbody></table></div></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left;background-color:#fbe4e4"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-weight:bold">This paragraph has a background color</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Paragraph</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><h1 style="font-size:48px;margin:3px"><span>Heading</span></h1></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:right;align-items:flex-end"><tbody><tr><td><h1 style="font-size:48px;margin
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should export a document with preview:
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L168
Error: Snapshot `react email exporter > should export a document with preview > __snapshots__/reactEmailExporterWithPreview 1` mismatched
- Expected
+ Received
- "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0" data-skip-in-text="true">This is a preview of the email content<div> </div></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-style:italic">Welcome to this </span><span style="font-style:italic;font-weight:bold">demo 🙌!</span></p></td></tr></tbody></table><div style="margin-left:24px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Hello World nested</span></p></td></tr></tbody></table><div style="margin-left:24px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Hello World double nested</span></p></td></tr></tbody></table></div></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left;background-color:#fbe4e4"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-weight:bold">This paragraph has a background color</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Paragraph</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><h1 style="font-size:48px;margin:3px"><span>Heading</span></h1></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:right;align-items:flex-end"><tbody><tr><td><h1 style="font-size:48px;margin:3px"><span>Heading right</sp
|
|
src/react-email/reactEmailExporter.test.tsx > react email exporter > should export a document (HTML snapshot):
packages/xl-email-exporter/src/react-email/reactEmailExporter.test.tsx#L24
Error: Snapshot `react email exporter > should export a document (HTML snapshot) > __snapshots__/reactEmailExporter 1` mismatched
- Expected
+ Received
- "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:1.5;color:#333"><!--$--><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-style:italic">Welcome to this </span><span style="font-style:italic;font-weight:bold">demo 🙌!</span></p></td></tr></tbody></table><div style="margin-left:24px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Hello World nested</span></p></td></tr></tbody></table><div style="margin-left:24px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Hello World double nested</span></p></td></tr></tbody></table></div></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left;background-color:#fbe4e4"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span style="font-weight:bold">This paragraph has a background color</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>Paragraph</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:left"><tbody><tr><td><h1 style="font-size:48px;margin:3px"><span>Heading</span></h1></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:right;align-items:flex-end"><tbody><tr><td><h1 style="font-size:48px;margin:3px"><span>Heading right</span></h1></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:justify"><tbody><tr><td><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top:3px;margin-bottom:3px;margin-left:3px;margin-right:3px"><span>justified paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</span></p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><hr style="border:none;border-top:2px dashed #ccc;margin:24px 0"/></td></tr></tbody></table><ul style="margin-bottom:0.5rem;list-style-type:disc;padding-left:1.5rem"><li><p style="font-size:16px;line-height:1.5;margin:3px;min-height:24px;margin-top
|
|
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots:
tests/src/utils/editor.ts#L47
4) [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots
Error: expect(string).toMatchSnapshot(expected)
@@ -38,11 +38,11 @@
"type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left",
- "level": 2,
+ "level": 1,
"isToggleable": false
},
"content": [
{
"type": "text",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts-snapshots/docStructureSnapshot-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/slashmenu-slashmenu-Check--f99af-uments-that-match-snapshots-firefox/docStructureSnapshot-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:141:5
|
|
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3:
tests/src/utils/editor.ts#L11
3) [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('.bn-editor').locator('[data-content-type=heading][data-level="3"]')
at ../utils/editor.ts:11
9 | export async function waitForSelectorInEditor(page: Page, selector: string) {
10 | const editor = page.locator(EDITOR_SELECTOR);
> 11 | await editor.locator(selector).waitFor({
| ^
12 | state: "attached",
13 | timeout: 1000,
14 | });
at waitForSelectorInEditor (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:11:34)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:46:34
|
|
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:36:7 › Check SlashMenu Functionality › Should be able to create h2:
tests/src/utils/editor.ts#L11
2) [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:36:7 › Check SlashMenu Functionality › Should be able to create h2
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('.bn-editor').locator('[data-content-type=heading][data-level="2"]')
at ../utils/editor.ts:11
9 | export async function waitForSelectorInEditor(page: Page, selector: string) {
10 | const editor = page.locator(EDITOR_SELECTOR);
> 11 | await editor.locator(selector).waitFor({
| ^
12 | state: "attached",
13 | timeout: 1000,
14 | });
at waitForSelectorInEditor (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:11:34)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:40:34
|
|
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L151
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block
Error: page.hover: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-content-type=heading][data-level="2"]')
149 | await page.keyboard.type("This is h3");
150 |
> 151 | await page.hover(H_TWO_BLOCK_SELECTOR);
| ^
152 | await page.click(DRAG_HANDLE_SELECTOR);
153 | await page.click("text=Delete");
154 | await page.waitForSelector(H_ONE_BLOCK_SELECTOR);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:151:16
|
|
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L0
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block
Test timeout of 30000ms exceeded.
|
|
🎭 Playwright Run Summary
1 skipped
94 passed (2.2m)
|
|
🎭 Playwright Run Summary
9 skipped
86 passed (3.2m)
|
|
🎭 Playwright Run Summary
4 flaky
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:36:7 › Check SlashMenu Functionality › Should be able to create h2
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots
11 skipped
80 passed (3.5m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
263 KB |
sha256:c6ac1b7ad414ccc50fc90fafcc06d970ee4c17d609a957d9caa19a0fdc50e5b6
|
|
|
playwright-report-firefox
Expired
|
2.48 MB |
sha256:af329704b104709d93d6b92d76a3c2619cdcba8efa8513dba3c9820d48a7958c
|
|
|
playwright-report-webkit
Expired
|
260 KB |
sha256:eadbd4cedf4d632734a77ef353ad3bf68b7a1ba38398345581650227e6f2ef56
|
|