test: Add credential helper and ndv helper (#18636)

This commit is contained in:
shortstacked
2025-08-21 17:40:30 +01:00
committed by GitHub
parent 944960bf43
commit 8ca75d6f51
10 changed files with 747 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ import {
INSTANCE_ADMIN_CREDENTIALS,
} from '../config/test-users';
import { TestError } from '../Types';
import { CredentialApiHelper } from './credential-api-helper';
import { ProjectApiHelper } from './project-api-helper';
import { WorkflowApiHelper } from './workflow-api-helper';
@@ -35,11 +36,13 @@ export class ApiHelpers {
request: APIRequestContext;
workflowApi: WorkflowApiHelper;
projectApi: ProjectApiHelper;
credentialApi: CredentialApiHelper;
constructor(requestContext: APIRequestContext) {
this.request = requestContext;
this.workflowApi = new WorkflowApiHelper(this);
this.projectApi = new ProjectApiHelper(this);
this.credentialApi = new CredentialApiHelper(this);
}
// ===== MAIN SETUP METHODS =====