added cypress e2e test (using cypress-image-diff)

This commit is contained in:
prusswan
2025-01-28 23:33:36 +08:00
parent d6cde2fc0f
commit 40bfbef312
11 changed files with 1673 additions and 5 deletions

View File

@@ -18,5 +18,8 @@ import "@cypress/code-coverage/support";
import "cypress-plugin-tab";
import "./commands";
import compareSnapshotCommand from 'cypress-image-diff-js/command';
compareSnapshotCommand();
// Alternatively you can use CommonJS syntax:
// require('./commands')