Fix cypress suite

- split out cypress tests for plugins to be isolated
- use updated testca image from proper location
This commit is contained in:
Jamie Curnow committed 2026-05-27 07:25:24 +10:00
1 parent 03c70e3902
commit 7e9cc32f97
13 files changed
+279 -22

No files matched your search

+5 -2
View File
@@ -1,3 +1,4 @@
import { plugin as cypressGrepPlugin } from "@cypress/grep/plugin";
import { SwaggerValidation } from "@jc21/cypress-swagger-validation";
import chalk from "chalk";
import backendTask from "./backendApi/task.mjs";
@@ -11,6 +12,8 @@ export default (on, config) => {
);
}
cypressGrepPlugin(config);
// Plugin Events
on("task", SwaggerValidation(config));
on("task", backendTask(config));
@@ -22,9 +25,9 @@ export default (on, config) => {
return null;
},
});
on('task', {
on("task", {
getFixturesFolder() {
return config.fixturesFolder
return config.fixturesFolder;
},
});