mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-24 07:03:08 +01:00
Fix cypress suite
- split out cypress tests for plugins to be isolated - use updated testca image from proper location
This commit is contained in:
1 parent
03c70e3902
commit
7e9cc32f97
13 files changed
+279
-22
No files matched your search
@@ -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;
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user