test: Migrate 3 specs from Cypress - Playwright (#19269)

This commit is contained in:
shortstacked
2025-09-08 12:46:08 +01:00
committed by GitHub
parent c6be123ddb
commit f7d225e871
24 changed files with 1154 additions and 470 deletions

View File

@@ -11,6 +11,7 @@ import {
import { TestError } from '../Types';
import { CredentialApiHelper } from './credential-api-helper';
import { ProjectApiHelper } from './project-api-helper';
import { VariablesApiHelper } from './variables-api-helper';
import { WorkflowApiHelper } from './workflow-api-helper';
export interface LoginResponseData {
@@ -37,12 +38,14 @@ export class ApiHelpers {
workflowApi: WorkflowApiHelper;
projectApi: ProjectApiHelper;
credentialApi: CredentialApiHelper;
variablesApi: VariablesApiHelper;
constructor(requestContext: APIRequestContext) {
this.request = requestContext;
this.workflowApi = new WorkflowApiHelper(this);
this.projectApi = new ProjectApiHelper(this);
this.credentialApi = new CredentialApiHelper(this);
this.variablesApi = new VariablesApiHelper(this);
}
// ===== MAIN SETUP METHODS =====