chore: Upgrade cypress

This commit is contained in:
Sidharth Vinod
2025-07-14 18:33:09 +05:30
parent 5449d6a447
commit 355eeeb9cc
3 changed files with 95 additions and 105 deletions

View File

@@ -26,7 +26,10 @@ export default eyesPlugin(
config.env.useArgos = process.env.RUN_VISUAL_TEST === 'true';
if (config.env.useArgos) {
registerArgosTask(on, config);
registerArgosTask(on, config, {
// Enable upload to Argos only when it runs on CI.
uploadToArgos: !!process.env.CI,
});
} else {
addMatchImageSnapshotPlugin(on, config);
}