From a25ee49edda8365b7303c6e831f6cb3d89e63f7e Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Sat, 5 Apr 2025 09:11:18 +0530 Subject: [PATCH] test: Add visual testing for examples --- .../integration/rendering/examples.spec.ts | 7 ++++ cypress/platform/examples.html | 36 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 cypress/integration/rendering/examples.spec.ts create mode 100644 cypress/platform/examples.html diff --git a/cypress/integration/rendering/examples.spec.ts b/cypress/integration/rendering/examples.spec.ts new file mode 100644 index 000000000..8431d7803 --- /dev/null +++ b/cypress/integration/rendering/examples.spec.ts @@ -0,0 +1,7 @@ +import { urlSnapshotTest } from '../../helpers/util.js'; + +describe.skip('Examples', () => { + it('should render all examples', () => { + urlSnapshotTest('http://localhost:9000/examples.html'); + }); +}); diff --git a/cypress/platform/examples.html b/cypress/platform/examples.html new file mode 100644 index 000000000..3add3da46 --- /dev/null +++ b/cypress/platform/examples.html @@ -0,0 +1,36 @@ + + + + + + Examples + + + + +