├── .eslintrc.js ├── .github ├── stale.yml └── workflows │ └── npm.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── README.md ├── examples ├── cucumberjs │ ├── .gitignore │ ├── .prettierignore │ ├── features │ │ ├── simple.feature │ │ └── table.feature │ ├── package.json │ ├── qase.config.json │ └── step_definitions │ │ ├── simple_steps.js │ │ └── table_steps.js ├── cypress │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── cypress-multi-reporters.js │ ├── cypress.config.js │ ├── cypress │ │ ├── e2e │ │ │ ├── methodTests.cy.js │ │ │ ├── parametrizedTests.cy.js │ │ │ ├── simpleTests.cy.js │ │ │ └── stepTests.cy.js │ │ ├── fixtures │ │ │ └── example.json │ │ ├── plugins │ │ │ └── index.js │ │ └── support │ │ │ ├── commands.js │ │ │ └── e2e.js │ └── package.json ├── cypressCucumber │ ├── README.md │ ├── cypress-multi-reporters.js │ ├── cypress.config.js │ ├── cypress │ │ ├── e2e │ │ │ ├── simpleTests.feature │ │ │ └── withQaseIDTests.feature │ │ ├── step_definitions │ │ │ └── steps.js │ │ └── support │ │ │ ├── commands.js │ │ │ └── e2e.js │ └── package.json ├── jest │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── babel.config.js │ ├── jest.config.js │ ├── package.json │ └── test │ │ ├── attach.test.js │ │ ├── attachments │ │ └── test-file.txt │ │ ├── comment.test.js │ │ ├── fields.test.js │ │ ├── id.test.js │ │ ├── ignore.test.js │ │ ├── markdownContent.js │ │ ├── params.test.js │ │ ├── steps.test.js │ │ ├── suite.test.js │ │ └── title.test.js ├── mocha │ ├── .mocharc.js │ ├── package.json │ ├── qase.config.json │ └── test │ │ ├── async.spec.js │ │ ├── attachTests.spec.js │ │ ├── parametrizedTests.spec.js │ │ ├── simpleTests.spec.js │ │ └── stepTests.spec.js ├── newman │ ├── .gitignore │ ├── .prettierignore │ ├── package.json │ ├── qase.config.json │ └── sample-collection.json ├── playwright │ ├── .gitignore │ ├── .prettierignore │ ├── package.json │ ├── playwright.config.js │ └── test │ │ ├── attach.spec.js │ │ ├── attachments │ │ └── test-file.txt │ │ ├── chain.spec.js │ │ ├── comment.spec.js │ │ ├── fields.spec.js │ │ ├── id.spec.js │ │ ├── ignore.spec.js │ │ ├── markdownContent.js │ │ ├── params.spec.js │ │ ├── steps.spec.js │ │ ├── suite.spec.js │ │ └── title.spec.js └── testcafe │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierignore │ ├── attachmentTests.js │ ├── package.json │ ├── qase.config.json │ └── simpleTests.js ├── package-lock.json ├── package.json ├── qase-api-client ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── docs │ ├── Attachment.md │ ├── AttachmentGet.md │ ├── AttachmentHash.md │ ├── AttachmentListResponse.md │ ├── AttachmentListResponseAllOfResult.md │ ├── AttachmentResponse.md │ ├── AttachmentUploadsResponse.md │ ├── AttachmentsApi.md │ ├── Attachmentupload.md │ ├── Author.md │ ├── AuthorListResponse.md │ ├── AuthorListResponseAllOfResult.md │ ├── AuthorResponse.md │ ├── AuthorsApi.md │ ├── BaseResponse.md │ ├── Bulk200Response.md │ ├── Bulk200ResponseAllOfResult.md │ ├── CasesApi.md │ ├── Configuration.md │ ├── ConfigurationCreate.md │ ├── ConfigurationGroup.md │ ├── ConfigurationGroupCreate.md │ ├── ConfigurationListResponse.md │ ├── ConfigurationsApi.md │ ├── CustomField.md │ ├── CustomFieldCreate.md │ ├── CustomFieldCreateValueInner.md │ ├── CustomFieldListResponse.md │ ├── CustomFieldResponse.md │ ├── CustomFieldUpdate.md │ ├── CustomFieldValue.md │ ├── CustomFieldsApi.md │ ├── CustomFieldsResponse.md │ ├── CustomFieldsResponseAllOfResult.md │ ├── Defect.md │ ├── DefectCreate.md │ ├── DefectListResponse.md │ ├── DefectListResponseAllOfResult.md │ ├── DefectQuery.md │ ├── DefectResponse.md │ ├── DefectStatus.md │ ├── DefectUpdate.md │ ├── DefectsApi.md │ ├── Environment.md │ ├── EnvironmentCreate.md │ ├── EnvironmentListResponse.md │ ├── EnvironmentListResponseAllOfResult.md │ ├── EnvironmentResponse.md │ ├── EnvironmentUpdate.md │ ├── EnvironmentsApi.md │ ├── ExternalIssue.md │ ├── ExternalIssueIssuesInner.md │ ├── HashResponse.md │ ├── HashResponseAllOfResult.md │ ├── IdResponse.md │ ├── IdResponseAllOfResult.md │ ├── Milestone.md │ ├── MilestoneCreate.md │ ├── MilestoneListResponse.md │ ├── MilestoneListResponseAllOfResult.md │ ├── MilestoneResponse.md │ ├── MilestoneUpdate.md │ ├── MilestonesApi.md │ ├── Plan.md │ ├── PlanCreate.md │ ├── PlanDetailed.md │ ├── PlanDetailedAllOfCases.md │ ├── PlanListResponse.md │ ├── PlanListResponseAllOfResult.md │ ├── PlanQuery.md │ ├── PlanResponse.md │ ├── PlanUpdate.md │ ├── PlansApi.md │ ├── Project.md │ ├── ProjectAccess.md │ ├── ProjectCodeResponse.md │ ├── ProjectCodeResponseAllOfResult.md │ ├── ProjectCounts.md │ ├── ProjectCountsDefects.md │ ├── ProjectCountsRuns.md │ ├── ProjectCreate.md │ ├── ProjectListResponse.md │ ├── ProjectListResponseAllOfResult.md │ ├── ProjectResponse.md │ ├── ProjectsApi.md │ ├── QqlDefect.md │ ├── QqlPlan.md │ ├── QqlTestCase.md │ ├── Requirement.md │ ├── RequirementQuery.md │ ├── Response.md │ ├── Result.md │ ├── ResultCreate.md │ ├── ResultCreateBulk.md │ ├── ResultCreateCase.md │ ├── ResultCreateResponse.md │ ├── ResultCreateResponseAllOfResult.md │ ├── ResultListResponse.md │ ├── ResultListResponseAllOfResult.md │ ├── ResultQuery.md │ ├── ResultResponse.md │ ├── ResultUpdate.md │ ├── ResultsApi.md │ ├── Run.md │ ├── RunCreate.md │ ├── RunEnvironment.md │ ├── RunListResponse.md │ ├── RunListResponseAllOfResult.md │ ├── RunMilestone.md │ ├── RunPublic.md │ ├── RunPublicResponse.md │ ├── RunPublicResponseAllOfResult.md │ ├── RunQuery.md │ ├── RunResponse.md │ ├── RunStats.md │ ├── RunsApi.md │ ├── SearchApi.md │ ├── SearchResponse.md │ ├── SearchResponseAllOfResult.md │ ├── SearchResponseAllOfResultEntities.md │ ├── SharedStep.md │ ├── SharedStepContent.md │ ├── SharedStepContentCreate.md │ ├── SharedStepCreate.md │ ├── SharedStepListResponse.md │ ├── SharedStepListResponseAllOfResult.md │ ├── SharedStepResponse.md │ ├── SharedStepUpdate.md │ ├── SharedStepsApi.md │ ├── Suite.md │ ├── SuiteCreate.md │ ├── SuiteDelete.md │ ├── SuiteList.md │ ├── SuiteListResponse.md │ ├── SuiteListResponseAllOfResult.md │ ├── SuiteResponse.md │ ├── SuiteUpdate.md │ ├── SuitesApi.md │ ├── SystemField.md │ ├── SystemFieldList.md │ ├── SystemFieldListResponse.md │ ├── SystemFieldOption.md │ ├── SystemFieldsApi.md │ ├── TagValue.md │ ├── TestCase.md │ ├── TestCaseCreate.md │ ├── TestCaseExternalIssues.md │ ├── TestCaseExternalIssuesLinksInner.md │ ├── TestCaseListResponse.md │ ├── TestCaseListResponseAllOfResult.md │ ├── TestCaseParams.md │ ├── TestCaseQuery.md │ ├── TestCaseResponse.md │ ├── TestCaseUpdate.md │ ├── TestCasebulk.md │ ├── TestCasebulkCasesInner.md │ ├── TestStep.md │ ├── TestStepCreate.md │ ├── TestStepResult.md │ └── TestStepResultCreate.md ├── package.json ├── src │ ├── api.ts │ ├── api │ │ ├── attachments-api.ts │ │ ├── authors-api.ts │ │ ├── cases-api.ts │ │ ├── configurations-api.ts │ │ ├── custom-fields-api.ts │ │ ├── defects-api.ts │ │ ├── environments-api.ts │ │ ├── milestones-api.ts │ │ ├── plans-api.ts │ │ ├── projects-api.ts │ │ ├── results-api.ts │ │ ├── runs-api.ts │ │ ├── search-api.ts │ │ ├── shared-steps-api.ts │ │ ├── suites-api.ts │ │ └── system-fields-api.ts │ ├── base.ts │ ├── common.ts │ ├── configuration.ts │ ├── index.ts │ └── model │ │ ├── attachment-get.ts │ │ ├── attachment-hash.ts │ │ ├── attachment-list-response-all-of-result.ts │ │ ├── attachment-list-response-all-of.ts │ │ ├── attachment-list-response.ts │ │ ├── attachment-response-all-of.ts │ │ ├── attachment-response.ts │ │ ├── attachment-uploads-response-all-of.ts │ │ ├── attachment-uploads-response.ts │ │ ├── attachment.ts │ │ ├── attachmentupload.ts │ │ ├── author-list-response-all-of-result.ts │ │ ├── author-list-response-all-of.ts │ │ ├── author-list-response.ts │ │ ├── author-response-all-of.ts │ │ ├── author-response.ts │ │ ├── author.ts │ │ ├── base-response.ts │ │ ├── bulk200-response-all-of-result.ts │ │ ├── bulk200-response-all-of.ts │ │ ├── bulk200-response.ts │ │ ├── configuration-create.ts │ │ ├── configuration-group-create.ts │ │ ├── configuration-group.ts │ │ ├── configuration-item.ts │ │ ├── configuration-list-response-all-of-result.ts │ │ ├── configuration-list-response-all-of.ts │ │ ├── configuration-list-response.ts │ │ ├── custom-field-create-value-inner.ts │ │ ├── custom-field-create.ts │ │ ├── custom-field-list-response.ts │ │ ├── custom-field-response-all-of.ts │ │ ├── custom-field-response.ts │ │ ├── custom-field-update.ts │ │ ├── custom-field-value.ts │ │ ├── custom-field.ts │ │ ├── custom-fields-response-all-of-result.ts │ │ ├── custom-fields-response-all-of.ts │ │ ├── custom-fields-response.ts │ │ ├── defect-create.ts │ │ ├── defect-list-response-all-of-result.ts │ │ ├── defect-list-response-all-of.ts │ │ ├── defect-list-response.ts │ │ ├── defect-query.ts │ │ ├── defect-response-all-of.ts │ │ ├── defect-response.ts │ │ ├── defect-status.ts │ │ ├── defect-update.ts │ │ ├── defect.ts │ │ ├── environment-create.ts │ │ ├── environment-list-response-all-of-result.ts │ │ ├── environment-list-response-all-of.ts │ │ ├── environment-list-response.ts │ │ ├── environment-response-all-of.ts │ │ ├── environment-response.ts │ │ ├── environment-update.ts │ │ ├── environment.ts │ │ ├── external-issue-issues-inner.ts │ │ ├── external-issue.ts │ │ ├── hash-response-all-of-result.ts │ │ ├── hash-response-all-of.ts │ │ ├── hash-response.ts │ │ ├── id-response-all-of-result.ts │ │ ├── id-response-all-of.ts │ │ ├── id-response.ts │ │ ├── index.ts │ │ ├── milestone-create.ts │ │ ├── milestone-list-response-all-of-result.ts │ │ ├── milestone-list-response-all-of.ts │ │ ├── milestone-list-response.ts │ │ ├── milestone-response-all-of.ts │ │ ├── milestone-response.ts │ │ ├── milestone-update.ts │ │ ├── milestone.ts │ │ ├── plan-create.ts │ │ ├── plan-detailed-all-of-cases.ts │ │ ├── plan-detailed-all-of.ts │ │ ├── plan-detailed.ts │ │ ├── plan-list-response-all-of-result.ts │ │ ├── plan-list-response-all-of.ts │ │ ├── plan-list-response.ts │ │ ├── plan-query.ts │ │ ├── plan-response-all-of.ts │ │ ├── plan-response.ts │ │ ├── plan-update.ts │ │ ├── plan.ts │ │ ├── project-access.ts │ │ ├── project-code-response-all-of-result.ts │ │ ├── project-code-response-all-of.ts │ │ ├── project-code-response.ts │ │ ├── project-counts-defects.ts │ │ ├── project-counts-runs.ts │ │ ├── project-counts.ts │ │ ├── project-create.ts │ │ ├── project-list-response-all-of-result.ts │ │ ├── project-list-response-all-of.ts │ │ ├── project-list-response.ts │ │ ├── project-response-all-of.ts │ │ ├── project-response.ts │ │ ├── project.ts │ │ ├── qql-defect.ts │ │ ├── qql-plan.ts │ │ ├── qql-test-case.ts │ │ ├── requirement-query.ts │ │ ├── requirement.ts │ │ ├── response.ts │ │ ├── result-create-bulk.ts │ │ ├── result-create-case.ts │ │ ├── result-create-response-all-of-result.ts │ │ ├── result-create-response-all-of.ts │ │ ├── result-create-response.ts │ │ ├── result-create.ts │ │ ├── result-list-response-all-of-result.ts │ │ ├── result-list-response-all-of.ts │ │ ├── result-list-response.ts │ │ ├── result-query.ts │ │ ├── result-response-all-of.ts │ │ ├── result-response.ts │ │ ├── result-update.ts │ │ ├── result.ts │ │ ├── resultcreate-bulk.ts │ │ ├── run-create.ts │ │ ├── run-environment.ts │ │ ├── run-list-response-all-of-result.ts │ │ ├── run-list-response-all-of.ts │ │ ├── run-list-response.ts │ │ ├── run-milestone.ts │ │ ├── run-public-response-all-of-result.ts │ │ ├── run-public-response-all-of.ts │ │ ├── run-public-response.ts │ │ ├── run-public.ts │ │ ├── run-query.ts │ │ ├── run-response-all-of.ts │ │ ├── run-response.ts │ │ ├── run-stats.ts │ │ ├── run.ts │ │ ├── search-response-all-of-result-entities.ts │ │ ├── search-response-all-of-result.ts │ │ ├── search-response-all-of.ts │ │ ├── search-response.ts │ │ ├── shared-step-content-create.ts │ │ ├── shared-step-content.ts │ │ ├── shared-step-create.ts │ │ ├── shared-step-list-response-all-of-result.ts │ │ ├── shared-step-list-response-all-of.ts │ │ ├── shared-step-list-response.ts │ │ ├── shared-step-response-all-of.ts │ │ ├── shared-step-response.ts │ │ ├── shared-step-update.ts │ │ ├── shared-step.ts │ │ ├── suite-create.ts │ │ ├── suite-delete.ts │ │ ├── suite-list-response-all-of-result.ts │ │ ├── suite-list-response-all-of.ts │ │ ├── suite-list-response.ts │ │ ├── suite-response-all-of.ts │ │ ├── suite-response.ts │ │ ├── suite-update.ts │ │ ├── suite.ts │ │ ├── system-field-list-response-all-of.ts │ │ ├── system-field-list-response.ts │ │ ├── system-field-option.ts │ │ ├── system-field.ts │ │ ├── tag-value.ts │ │ ├── test-case-create.ts │ │ ├── test-case-external-issues-links-inner.ts │ │ ├── test-case-external-issues.ts │ │ ├── test-case-list-response-all-of-result.ts │ │ ├── test-case-list-response-all-of.ts │ │ ├── test-case-list-response.ts │ │ ├── test-case-params.ts │ │ ├── test-case-query.ts │ │ ├── test-case-response-all-of.ts │ │ ├── test-case-response.ts │ │ ├── test-case-update.ts │ │ ├── test-case.ts │ │ ├── test-casebulk-cases-inner-all-of.ts │ │ ├── test-casebulk-cases-inner.ts │ │ ├── test-casebulk.ts │ │ ├── test-caseexternal-issues.ts │ │ ├── test-step-create.ts │ │ ├── test-step-result-create.ts │ │ ├── test-step-result.ts │ │ └── test-step.ts ├── tsconfig.build.json └── tsconfig.json ├── qase-api-v2-client ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── docs │ ├── CreateResultsRequestV2.md │ ├── RelationSuite.md │ ├── RelationSuiteItem.md │ ├── ResultCreate.md │ ├── ResultCreateFields.md │ ├── ResultExecution.md │ ├── ResultRelations.md │ ├── ResultStep.md │ ├── ResultStepData.md │ ├── ResultStepExecution.md │ ├── ResultStepStatus.md │ ├── ResultStepsType.md │ └── ResultsApi.md ├── package.json ├── src │ ├── api.ts │ ├── api │ │ └── results-api.ts │ ├── base.ts │ ├── common.ts │ ├── configuration.ts │ ├── index.ts │ └── model │ │ ├── base-response.ts │ │ ├── create-results-request-v2.ts │ │ ├── index.ts │ │ ├── relation-suite-item.ts │ │ ├── relation-suite.ts │ │ ├── result-create-bulk-response.ts │ │ ├── result-create-fields.ts │ │ ├── result-create-response-all-of-result.ts │ │ ├── result-create-response-all-of.ts │ │ ├── result-create-response.ts │ │ ├── result-create.ts │ │ ├── result-execution.ts │ │ ├── result-relations.ts │ │ ├── result-step-data.ts │ │ ├── result-step-execution.ts │ │ ├── result-step-status.ts │ │ ├── result-step.ts │ │ └── result-steps-type.ts ├── tsconfig.build.json └── tsconfig.json ├── qase-cucumberjs ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── jest.config.js ├── package.json ├── screenshots │ ├── demo.gif │ └── screenshot.png ├── src │ ├── index.ts │ ├── models.ts │ ├── reporter.ts │ └── storage.ts ├── test │ └── .gitkeep ├── tsconfig.build.json └── tsconfig.json ├── qase-cypress ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── docs │ └── usage.md ├── jest.config.js ├── package.json ├── screenshots │ └── screenshot.png ├── src │ ├── child.js │ ├── configSchema.ts │ ├── cucumber.ts │ ├── fileSearcher.ts │ ├── hooks.ts │ ├── index.cjs.ts │ ├── index.ts │ ├── metadata.js │ ├── metadata │ │ ├── manager.ts │ │ └── models.ts │ ├── mocha.ts │ ├── options.ts │ ├── plugin.js │ ├── reporter.ts │ └── utils │ │ ├── tagParser.ts │ │ └── traverse-dir.ts ├── test │ └── .gitkeep ├── tsconfig.build.json └── tsconfig.json ├── qase-javascript-commons ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── jest.config.js ├── package.json ├── src │ ├── client │ │ ├── clientV1.ts │ │ ├── clientV2.ts │ │ ├── dateUtils.ts │ │ └── interface.ts │ ├── config │ │ ├── config-loader-interface.ts │ │ ├── config-loader.ts │ │ ├── config-type.ts │ │ ├── config-validation-schema.ts │ │ └── index.ts │ ├── env │ │ ├── env-enum.ts │ │ ├── env-to-config.ts │ │ ├── env-type.ts │ │ ├── env-validation-schema.ts │ │ └── index.ts │ ├── formatter │ │ ├── formatter-interface.ts │ │ ├── index.ts │ │ ├── json-formatter.ts │ │ └── jsonp-formatter.ts │ ├── index.ts │ ├── models │ │ ├── attachment.ts │ │ ├── config │ │ │ └── TestOpsOptionsType.ts │ │ ├── error.ts │ │ ├── execution-sum.ts │ │ ├── host-data.ts │ │ ├── index.ts │ │ ├── report.ts │ │ ├── short-result.ts │ │ ├── stats.ts │ │ ├── step-data.ts │ │ ├── step-execution.ts │ │ ├── test-execution.ts │ │ ├── test-result.ts │ │ └── test-step.ts │ ├── options │ │ ├── composeOptions.ts │ │ ├── index.ts │ │ ├── mode-enum.ts │ │ └── options-type.ts │ ├── qase.ts │ ├── reporters │ │ ├── abstract-reporter.ts │ │ ├── index.ts │ │ ├── report-reporter.ts │ │ └── testops-reporter.ts │ ├── state │ │ └── state.ts │ ├── steps │ │ └── step.ts │ ├── utils │ │ ├── disabled-exception.ts │ │ ├── get-package-version.ts │ │ ├── hostData.ts │ │ ├── is-axios-error.ts │ │ ├── logger.ts │ │ ├── mimeTypes.ts │ │ ├── qase-error.ts │ │ ├── signature.ts │ │ └── validate-json.ts │ └── writer │ │ ├── driver-enum.ts │ │ ├── fs-writer.ts │ │ ├── index.ts │ │ └── writer-interface.ts ├── test │ ├── .gitkeep │ └── signature.test.ts ├── tsconfig.build.json └── tsconfig.json ├── qase-jest ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── docs │ └── usage.md ├── jest.config.js ├── package.json ├── screenshots │ └── screenshot.png ├── src │ ├── global.ts │ ├── index.ts │ ├── jest.ts │ ├── models.ts │ └── reporter.ts ├── test │ └── .gitkeep ├── tsconfig.build.json └── tsconfig.json ├── qase-mocha ├── .eslintignore ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── changelog.md ├── package.json ├── src │ ├── index.ts │ ├── interceptor.ts │ ├── mocha.ts │ ├── parallel.ts │ ├── reporter.ts │ └── types.ts ├── tsconfig.build.json └── tsconfig.json ├── qase-newman ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── docs │ └── usage.md ├── jest.config.js ├── package.json ├── screenshots │ ├── demo.gif │ └── screenshot.png ├── src │ ├── configSchema.ts │ ├── index.ts │ ├── options.ts │ └── reporter.ts ├── test │ └── .gitkeep ├── tsconfig.build.json └── tsconfig.json ├── qase-playwright ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── docs │ └── usage.md ├── jest.config.js ├── package.json ├── screenshots │ ├── demo.gif │ ├── screenshot.png │ └── test-run.gif ├── src │ ├── configSchema.ts │ ├── index.ts │ ├── options.ts │ ├── playwright.ts │ └── reporter.ts ├── test │ └── .gitkeep ├── tsconfig.build.json └── tsconfig.json ├── qase-testcafe ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── docs │ └── usage.md ├── jest.config.js ├── package.json ├── screenshots │ ├── demo.gif │ └── screenshot.png ├── src │ ├── factory.ts │ ├── global.ts │ ├── index.ts │ ├── qase.ts │ └── reporter.ts ├── test │ └── .gitkeep ├── tsconfig.build.json └── tsconfig.json ├── qase-wdio ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── changelog.md ├── package.json ├── src │ ├── events.ts │ ├── hooks.ts │ ├── index.ts │ ├── models.ts │ ├── options.ts │ ├── reporter.ts │ ├── storage.ts │ ├── utils.ts │ └── wdio.ts ├── tsconfig.build.json └── tsconfig.json ├── qaseio ├── .eslintignore ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── babel.config.js ├── changelog.md ├── jest.config.js ├── package.json ├── src │ ├── generated │ │ ├── api.ts │ │ ├── api │ │ │ ├── attachments-api.ts │ │ │ ├── authors-api.ts │ │ │ ├── cases-api.ts │ │ │ ├── configurations-api.ts │ │ │ ├── custom-fields-api.ts │ │ │ ├── defects-api.ts │ │ │ ├── environments-api.ts │ │ │ ├── milestones-api.ts │ │ │ ├── plans-api.ts │ │ │ ├── projects-api.ts │ │ │ ├── result-api.ts │ │ │ ├── results-api.ts │ │ │ ├── runs-api.ts │ │ │ ├── search-api.ts │ │ │ ├── shared-steps-api.ts │ │ │ ├── suites-api.ts │ │ │ └── system-fields-api.ts │ │ ├── base.ts │ │ ├── common.ts │ │ ├── configuration.ts │ │ ├── index.ts │ │ └── model │ │ │ ├── attachment-get.ts │ │ │ ├── attachment-hash.ts │ │ │ ├── attachment-list-response-all-of-result.ts │ │ │ ├── attachment-list-response-all-of.ts │ │ │ ├── attachment-list-response.ts │ │ │ ├── attachment-response-all-of.ts │ │ │ ├── attachment-response.ts │ │ │ ├── attachment-uploads-response-all-of.ts │ │ │ ├── attachment-uploads-response.ts │ │ │ ├── attachment.ts │ │ │ ├── attachmentupload.ts │ │ │ ├── author-list-response-all-of-result.ts │ │ │ ├── author-list-response-all-of.ts │ │ │ ├── author-list-response.ts │ │ │ ├── author-response-all-of.ts │ │ │ ├── author-response.ts │ │ │ ├── author.ts │ │ │ ├── base-response.ts │ │ │ ├── bulk200-response-all-of-result.ts │ │ │ ├── bulk200-response-all-of.ts │ │ │ ├── bulk200-response.ts │ │ │ ├── configuration-create.ts │ │ │ ├── configuration-group-create.ts │ │ │ ├── configuration-group.ts │ │ │ ├── configuration-list-response-all-of-result.ts │ │ │ ├── configuration-list-response-all-of.ts │ │ │ ├── configuration-list-response.ts │ │ │ ├── configuration.ts │ │ │ ├── create-results-request-v2.ts │ │ │ ├── custom-field-create-value-inner.ts │ │ │ ├── custom-field-create.ts │ │ │ ├── custom-field-list-response.ts │ │ │ ├── custom-field-response-all-of.ts │ │ │ ├── custom-field-response.ts │ │ │ ├── custom-field-update.ts │ │ │ ├── custom-field-value.ts │ │ │ ├── custom-field.ts │ │ │ ├── custom-fields-response-all-of-result.ts │ │ │ ├── custom-fields-response-all-of.ts │ │ │ ├── custom-fields-response.ts │ │ │ ├── defect-create.ts │ │ │ ├── defect-list-response-all-of-result.ts │ │ │ ├── defect-list-response-all-of.ts │ │ │ ├── defect-list-response.ts │ │ │ ├── defect-query.ts │ │ │ ├── defect-response-all-of.ts │ │ │ ├── defect-response.ts │ │ │ ├── defect-status.ts │ │ │ ├── defect-update.ts │ │ │ ├── defect.ts │ │ │ ├── environment-create.ts │ │ │ ├── environment-list-response-all-of-result.ts │ │ │ ├── environment-list-response-all-of.ts │ │ │ ├── environment-list-response.ts │ │ │ ├── environment-response-all-of.ts │ │ │ ├── environment-response.ts │ │ │ ├── environment-update.ts │ │ │ ├── environment.ts │ │ │ ├── external-issue-issues-inner.ts │ │ │ ├── external-issue.ts │ │ │ ├── hash-response-all-of-result.ts │ │ │ ├── hash-response-all-of.ts │ │ │ ├── hash-response.ts │ │ │ ├── id-response-all-of-result.ts │ │ │ ├── id-response-all-of.ts │ │ │ ├── id-response.ts │ │ │ ├── index.ts │ │ │ ├── milestone-create.ts │ │ │ ├── milestone-list-response-all-of-result.ts │ │ │ ├── milestone-list-response-all-of.ts │ │ │ ├── milestone-list-response.ts │ │ │ ├── milestone-response-all-of.ts │ │ │ ├── milestone-response.ts │ │ │ ├── milestone-update.ts │ │ │ ├── milestone.ts │ │ │ ├── plan-create.ts │ │ │ ├── plan-detailed-all-of-cases.ts │ │ │ ├── plan-detailed-all-of.ts │ │ │ ├── plan-detailed.ts │ │ │ ├── plan-list-response-all-of-result.ts │ │ │ ├── plan-list-response-all-of.ts │ │ │ ├── plan-list-response.ts │ │ │ ├── plan-query.ts │ │ │ ├── plan-response-all-of.ts │ │ │ ├── plan-response.ts │ │ │ ├── plan-update.ts │ │ │ ├── plan.ts │ │ │ ├── project-access.ts │ │ │ ├── project-code-response-all-of-result.ts │ │ │ ├── project-code-response-all-of.ts │ │ │ ├── project-code-response.ts │ │ │ ├── project-counts-defects.ts │ │ │ ├── project-counts-runs.ts │ │ │ ├── project-counts.ts │ │ │ ├── project-create.ts │ │ │ ├── project-list-response-all-of-result.ts │ │ │ ├── project-list-response-all-of.ts │ │ │ ├── project-list-response.ts │ │ │ ├── project-response-all-of.ts │ │ │ ├── project-response.ts │ │ │ ├── project.ts │ │ │ ├── qql-defect.ts │ │ │ ├── qql-plan.ts │ │ │ ├── qql-test-case.ts │ │ │ ├── relation-suite-item.ts │ │ │ ├── relation-suite.ts │ │ │ ├── requirement-query.ts │ │ │ ├── requirement.ts │ │ │ ├── response.ts │ │ │ ├── result-create-bulk.ts │ │ │ ├── result-create-case.ts │ │ │ ├── result-create-fields.ts │ │ │ ├── result-create-response-all-of-result.ts │ │ │ ├── result-create-response-all-of.ts │ │ │ ├── result-create-response.ts │ │ │ ├── result-create-v2.ts │ │ │ ├── result-create.ts │ │ │ ├── result-execution.ts │ │ │ ├── result-list-response-all-of-result.ts │ │ │ ├── result-list-response-all-of.ts │ │ │ ├── result-list-response.ts │ │ │ ├── result-query.ts │ │ │ ├── result-relations.ts │ │ │ ├── result-response-all-of.ts │ │ │ ├── result-response.ts │ │ │ ├── result-step-data.ts │ │ │ ├── result-step-execution.ts │ │ │ ├── result-step-status.ts │ │ │ ├── result-step.ts │ │ │ ├── result-steps-type.ts │ │ │ ├── result-update.ts │ │ │ ├── result.ts │ │ │ ├── resultcreate-bulk.ts │ │ │ ├── run-create.ts │ │ │ ├── run-environment.ts │ │ │ ├── run-list-response-all-of-result.ts │ │ │ ├── run-list-response-all-of.ts │ │ │ ├── run-list-response.ts │ │ │ ├── run-milestone.ts │ │ │ ├── run-public-response-all-of-result.ts │ │ │ ├── run-public-response-all-of.ts │ │ │ ├── run-public-response.ts │ │ │ ├── run-public.ts │ │ │ ├── run-query.ts │ │ │ ├── run-response-all-of.ts │ │ │ ├── run-response.ts │ │ │ ├── run-stats.ts │ │ │ ├── run.ts │ │ │ ├── search-response-all-of-result-entities.ts │ │ │ ├── search-response-all-of-result.ts │ │ │ ├── search-response-all-of.ts │ │ │ ├── search-response.ts │ │ │ ├── shared-step-content-create.ts │ │ │ ├── shared-step-content.ts │ │ │ ├── shared-step-create.ts │ │ │ ├── shared-step-list-response-all-of-result.ts │ │ │ ├── shared-step-list-response-all-of.ts │ │ │ ├── shared-step-list-response.ts │ │ │ ├── shared-step-response-all-of.ts │ │ │ ├── shared-step-response.ts │ │ │ ├── shared-step-update.ts │ │ │ ├── shared-step.ts │ │ │ ├── suite-create.ts │ │ │ ├── suite-delete.ts │ │ │ ├── suite-list-response-all-of-result.ts │ │ │ ├── suite-list-response-all-of.ts │ │ │ ├── suite-list-response.ts │ │ │ ├── suite-response-all-of.ts │ │ │ ├── suite-response.ts │ │ │ ├── suite-update.ts │ │ │ ├── suite.ts │ │ │ ├── system-field-list-response-all-of.ts │ │ │ ├── system-field-list-response.ts │ │ │ ├── system-field-option.ts │ │ │ ├── system-field.ts │ │ │ ├── tag-value.ts │ │ │ ├── test-case-create.ts │ │ │ ├── test-case-external-issues-links-inner.ts │ │ │ ├── test-case-external-issues.ts │ │ │ ├── test-case-list-response-all-of-result.ts │ │ │ ├── test-case-list-response-all-of.ts │ │ │ ├── test-case-list-response.ts │ │ │ ├── test-case-params.ts │ │ │ ├── test-case-query.ts │ │ │ ├── test-case-response-all-of.ts │ │ │ ├── test-case-response.ts │ │ │ ├── test-case-update.ts │ │ │ ├── test-case.ts │ │ │ ├── test-casebulk-cases-inner-all-of.ts │ │ │ ├── test-casebulk-cases-inner.ts │ │ │ ├── test-casebulk.ts │ │ │ ├── test-caseexternal-issues.ts │ │ │ ├── test-step-create.ts │ │ │ ├── test-step-result-create.ts │ │ │ ├── test-step-result.ts │ │ │ └── test-step.ts │ ├── index.ts │ └── qaseio.ts ├── test │ └── qaseio.test.ts ├── tsconfig.build.json └── tsconfig.json └── tsconfig.json /.github/stale.yml: -------------------------------------------------------------------------------- 1 | # Number of days of inactivity before an issue becomes stale 2 | daysUntilStale: 90 3 | # Number of days of inactivity before a stale issue is closed 4 | daysUntilClose: 7 5 | # Issues with these labels will never be considered stale 6 | exemptLabels: 7 | - pinned 8 | - security 9 | # Label to use when marking an issue as stale 10 | staleLabel: wontfix 11 | # Comment to post when marking an issue as stale. Set to `false` to disable 12 | markComment: > 13 | This issue has been automatically marked as stale because it has not had 14 | recent activity. It will be closed if no further activity occurs. Thank you 15 | for your contributions. 16 | # Comment to post when closing a stale issue. Set to `false` to disable 17 | closeComment: false 18 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Required to run prettier from the root folder since it doesn't respoect nested .prettierignore files 2 | examples/*/qase/ 3 | examples/cypress/cypress/reports/ 4 | */dist 5 | */coverage 6 | qaseio/src/generated 7 | qase-api-client/src 8 | qase-api-v2-client/src 9 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all" 4 | } 5 | -------------------------------------------------------------------------------- /examples/cucumberjs/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /examples/cucumberjs/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /examples/cucumberjs/features/table.feature: -------------------------------------------------------------------------------- 1 | Feature: Table feature 2 | It is a table feature 3 | 4 | Scenario Outline: Table scenario 5 | Given I have a table with rows 6 | Then the table should have rows 7 | 8 | Examples: 9 | | rows | 10 | | 1 | 11 | | 2 | 12 | | 3 | 13 | -------------------------------------------------------------------------------- /examples/cucumberjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples-cucumberjs", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops cucumber-js -f cucumberjs-qase-reporter features -r step_definitions --publish-quiet" 6 | }, 7 | "devDependencies": { 8 | "@cucumber/cucumber": "^7.3.2", 9 | "cucumberjs-qase-reporter": "^2.0.6" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /examples/cucumberjs/qase.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "debug": true, 3 | 4 | "testops": { 5 | "api": { 6 | "token": "api_key" 7 | }, 8 | "project": "project_code", 9 | "uploadAttachments": true, 10 | "run": { 11 | "complete": true 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /examples/cucumberjs/step_definitions/simple_steps.js: -------------------------------------------------------------------------------- 1 | const { Given, When, Then } = require('@cucumber/cucumber'); 2 | 3 | Given('I have a step', function() { 4 | console.log('I have a step'); 5 | this.attach('I\'m an attachment', 'text/plain'); 6 | }); 7 | 8 | Given('I have another step', function() { 9 | console.log('I have another step'); 10 | }); 11 | 12 | When('I do something', function() { 13 | console.log('I do something'); 14 | }); 15 | 16 | Then('I expect something to happen', function() { 17 | console.log('I expect something to happen'); 18 | }); 19 | 20 | Then('I fail', function() { 21 | throw new Error('I fail'); 22 | }); 23 | 24 | When('I fail', function() { 25 | throw new Error('I fail'); 26 | }); 27 | -------------------------------------------------------------------------------- /examples/cucumberjs/step_definitions/table_steps.js: -------------------------------------------------------------------------------- 1 | const { Given, Then } = require('@cucumber/cucumber'); 2 | 3 | Given('I have a table with {int} rows', function(rows) { 4 | console.log(`Table with ${rows} rows`); 5 | }); 6 | 7 | Then('the table should have {int} rows', function(rows) { 8 | console.log(`Table with ${rows} rows`); 9 | this.attach('image/png;base64', 'image/png;base64', 'image/png;base64'); 10 | }); 11 | -------------------------------------------------------------------------------- /examples/cypress/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['plugin:cypress/recommended'], 3 | }; 4 | -------------------------------------------------------------------------------- /examples/cypress/.gitignore: -------------------------------------------------------------------------------- 1 | cypress/reports 2 | cypress/screenshots 3 | build 4 | -------------------------------------------------------------------------------- /examples/cypress/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | **/cypress/reports 3 | -------------------------------------------------------------------------------- /examples/cypress/cypress-multi-reporters.js: -------------------------------------------------------------------------------- 1 | // Cypress only looks for reporters in the project directory, so it may miss hoisted packages in npm workspaces 2 | module.exports = require('cypress-multi-reporters'); 3 | -------------------------------------------------------------------------------- /examples/cypress/cypress/fixtures/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Using fixtures to represent data", 3 | "email": "hello@cypress.io", 4 | "body": "Fixtures are a great way to mock data for responses to routes" 5 | } 6 | -------------------------------------------------------------------------------- /examples/cypress/cypress/support/e2e.js: -------------------------------------------------------------------------------- 1 | // *********************************************************** 2 | // This example support/index.js is processed and 3 | // loaded automatically before your test files. 4 | // 5 | // This is a great place to put global configuration and 6 | // behavior that modifies Cypress. 7 | // 8 | // You can change the location of this file or turn off 9 | // automatically serving support files with the 10 | // 'supportFile' configuration option. 11 | // 12 | // You can read more here: 13 | // https://on.cypress.io/configuration 14 | // *********************************************************** 15 | 16 | // Import commands.js using ES2015 syntax: 17 | import './commands'; 18 | 19 | // Alternatively you can use CommonJS syntax: 20 | // require('./commands') 21 | -------------------------------------------------------------------------------- /examples/cypress/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples-cypress", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops cypress run" 6 | }, 7 | "devDependencies": { 8 | "cypress": "^12.13.0", 9 | "cypress-mochawesome-reporter": "^3.5.0", 10 | "cypress-multi-reporters": "^1.6.3", 11 | "cypress-qase-reporter": "^2.2.3", 12 | "eslint-plugin-cypress": "^2.13.3" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /examples/cypressCucumber/cypress-multi-reporters.js: -------------------------------------------------------------------------------- 1 | // Cypress only looks for reporters in the project directory, so it may miss hoisted packages in npm workspaces 2 | module.exports = require('cypress-multi-reporters'); 3 | -------------------------------------------------------------------------------- /examples/cypressCucumber/cypress/e2e/simpleTests.feature: -------------------------------------------------------------------------------- 1 | Feature: Simple tests 2 | 3 | Scenario: test without metadata 4 | Given I am on the homepage 5 | When I click on the first link 6 | Then I should see the first link 7 | 8 | Scenario: test without metadata failed 9 | Given I am on the homepage 10 | When I should see the first link failed 11 | Then I should see the first link 12 | 13 | -------------------------------------------------------------------------------- /examples/cypressCucumber/cypress/step_definitions/steps.js: -------------------------------------------------------------------------------- 1 | import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps'; 2 | 3 | Given('I am on the homepage', () => { 4 | cy.visit('https://example.cypress.io'); 5 | }); 6 | 7 | When('I click on the first link', () => { 8 | cy.visit('https://example.cypress.io'); 9 | }); 10 | 11 | Then('I should see the first link', () => { 12 | cy.get('a').first().click(); 13 | }); 14 | 15 | 16 | When('I should see the first link failed', () => { 17 | cy.get('a').first().click(); 18 | throw new Error('This step failed'); 19 | }); 20 | -------------------------------------------------------------------------------- /examples/cypressCucumber/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cypress-cucumber", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops cypress run" 6 | }, 7 | "devDependencies": { 8 | "cypress": "^13.16.0", 9 | "cypress-cucumber-preprocessor": "^4.3.1", 10 | "cypress-multi-reporters": "^1.6.3", 11 | "cypress-qase-reporter": "^2.2.5" 12 | }, 13 | "cypress-cucumber-preprocessor": { 14 | "step_definitions": "cypress/step_definitions/" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /examples/jest/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /examples/jest/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /examples/jest/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [['@babel/preset-env']], 3 | }; 4 | -------------------------------------------------------------------------------- /examples/jest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples-jest", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops jest --runInBand" 6 | }, 7 | "devDependencies": { 8 | "@babel/preset-env": "^7.22.4", 9 | "@jest/globals": "^29.5.0", 10 | "babel-jest": "^29.5.0", 11 | "jest": "^29.5.0", 12 | "jest-qase-reporter": "^2.0.5" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /examples/jest/test/attach.test.js: -------------------------------------------------------------------------------- 1 | const { qase } = require("jest-qase-reporter/jest"); 2 | const {describe, test, expect} = require("@jest/globals"); 3 | 4 | describe("Example: attach.test.js", () => { 5 | test("Test result with attachment", async () => { 6 | 7 | // To attach a single file 8 | qase.attach({ 9 | paths: ["./test/attachments/test-file.txt"], 10 | }); 11 | 12 | /* 13 | // Add multiple attachments. 14 | await qase.attach({ paths: ['/path/to/file', '/path/to/another/file'] }); 15 | 16 | */ 17 | // Upload file's contents directly from code. 18 | qase.attach({ 19 | name: "attachment.txt", 20 | content: "Hello, world!", 21 | contentType: "text/plain", 22 | }); 23 | 24 | expect(true).toBe(true); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /examples/jest/test/comment.test.js: -------------------------------------------------------------------------------- 1 | const { qase } = require("jest-qase-reporter/jest"); 2 | const {describe, test, expect} = require("@jest/globals"); 3 | 4 | describe("Example: comment.test.js", () => { 5 | test("A test case with qase.comment()", () => { 6 | /* 7 | * Please note, this comment is added to a Result, not to the Test case. 8 | */ 9 | 10 | qase.comment( 11 | "This comment will be displayed in the 'Actual Result' field of the test result in Qase.", 12 | ); 13 | 14 | expect(true).toBe(true); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /examples/jest/test/id.test.js: -------------------------------------------------------------------------------- 1 | const { qase } = require("jest-qase-reporter/jest"); 2 | const {describe, test, expect} = require("@jest/globals"); 3 | 4 | describe("Example: id.test.js", () => { 5 | // Please, change the Id from `1` to any case Id present in your project before uncommenting the test. 6 | test(qase(1, "A test with Qase Id"), () => { 7 | expect(true).toBe(true); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /examples/jest/test/ignore.test.js: -------------------------------------------------------------------------------- 1 | const { qase } = require("jest-qase-reporter/jest"); 2 | const {describe, test, expect} = require("@jest/globals"); 3 | 4 | describe("Example: ignore.test.js", () => { 5 | test("This test is executed using Jest; however, it is NOT reported to Qase", () => { 6 | qase.ignore(); 7 | expect(true).toBe(true); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /examples/jest/test/suite.test.js: -------------------------------------------------------------------------------- 1 | const { qase } = require("jest-qase-reporter/jest"); 2 | const {describe, test, expect} = require("@jest/globals"); 3 | 4 | describe("Example: suite.test.js", () => { 5 | test("Test with a defined suite", () => { 6 | qase.suite("Example: suite.test.js\tThis shall be a suite name"); 7 | expect(true).toBe(true); 8 | }); 9 | 10 | test("Test within multiple levels of suite", () => { 11 | qase.suite( 12 | "Example: suite.test.js\tThis shall be a suite name\tChild Suite", 13 | ); 14 | // A `\t` is used for dividing each suite name 15 | expect(true).toBe(true); 16 | }); 17 | }); 18 | -------------------------------------------------------------------------------- /examples/mocha/.mocharc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | spec: ["test/*.spec.js"], 3 | reporter: "mocha-qase-reporter" 4 | }; 5 | -------------------------------------------------------------------------------- /examples/mocha/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples-mocha", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops mocha" 6 | }, 7 | "devDependencies": { 8 | "mocha": "^10.2.0", 9 | "mocha-qase-reporter": "^1.1.0" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /examples/mocha/qase.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "debug": true, 3 | 4 | "testops": { 5 | "api": { 6 | "token": "token" 7 | }, 8 | 9 | "project": "project_code", 10 | "uploadAttachments": true, 11 | 12 | "run": { 13 | "complete": true, 14 | "title": "Mocha test run" 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/mocha/test/attachTests.spec.js: -------------------------------------------------------------------------------- 1 | const assert = require('assert'); 2 | 3 | 4 | describe('Attachment tests', function() { 5 | it('successful test with string attachment', function() { 6 | this.attach({name:"attachment.log", content:"data", contentType:"text/plain"}); 7 | assert.strictEqual(1, 1); 8 | }); 9 | 10 | it('failing test with string attachment', function() { 11 | this.attach({name:"attachment.log", content:"data", contentType:"text/plain"}); 12 | assert.strictEqual(1, 2); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /examples/mocha/test/parametrizedTests.spec.js: -------------------------------------------------------------------------------- 1 | const assert = require('assert'); 2 | 3 | describe('Parametrized test', function() { 4 | const params = [1, 2, 3, 4, 5]; 5 | params.forEach((param) => { 6 | it(`test with parameters success ${param}`, function() { 7 | this.parameters({ number: param }); 8 | assert.strictEqual(param, param); 9 | }); 10 | it(`test with parameters failed ${param}`, function() { 11 | this.parameters({ number: param }); 12 | assert.strictEqual(param, param + 1); 13 | }); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /examples/mocha/test/stepTests.spec.js: -------------------------------------------------------------------------------- 1 | const assert = require('assert'); 2 | 3 | 4 | describe('Step tests', function() { 5 | it('successful test with steps', function() { 6 | this.step('step 1', function() {}); 7 | this.step('step 2', function() {}); 8 | assert.strictEqual(1, 1); 9 | }); 10 | 11 | it('failing test with steps', function() { 12 | this.step('step 1', function() {}); 13 | this.step('step 2', function() {}); 14 | assert.strictEqual(1, 2); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /examples/newman/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /examples/newman/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /examples/newman/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples-newman", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops newman run ./sample-collection.json -r qase" 6 | }, 7 | "devDependencies": { 8 | "newman": "^5.3.2", 9 | "newman-reporter-qase": "^2.0.0-beta.2" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /examples/newman/qase.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "debug": true, 3 | 4 | "testops": { 5 | "api": { 6 | "token": "api_key" 7 | }, 8 | 9 | "project": "project_code", 10 | 11 | "run": { 12 | "complete": true 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /examples/playwright/.gitignore: -------------------------------------------------------------------------------- 1 | test-results 2 | build 3 | -------------------------------------------------------------------------------- /examples/playwright/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | test-results 3 | -------------------------------------------------------------------------------- /examples/playwright/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples-playwright", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops npx playwright test" 6 | }, 7 | "devDependencies": { 8 | "@playwright/test": "^1.34.3", 9 | "playwright-qase-reporter": "^2.0.16" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /examples/playwright/playwright.config.js: -------------------------------------------------------------------------------- 1 | const config = { 2 | use: { 3 | screenshot: 'only-on-failure', 4 | video: 'retain-on-failure', 5 | }, 6 | reporter: [ 7 | ['list'], 8 | [ 9 | 'playwright-qase-reporter', 10 | { 11 | debug: true, 12 | 13 | testops: { 14 | api: { 15 | token: 'api_key', 16 | }, 17 | 18 | project: 'project_code', 19 | uploadAttachments: true, 20 | 21 | run: { 22 | complete: true, 23 | }, 24 | }, 25 | }, 26 | ], 27 | ], 28 | }; 29 | 30 | module.exports = config; 31 | -------------------------------------------------------------------------------- /examples/playwright/test/attach.spec.js: -------------------------------------------------------------------------------- 1 | import { test, expect } from "@playwright/test"; 2 | import { qase } from "playwright-qase-reporter"; 3 | 4 | test.describe("Example: attach.spec.js", () => { 5 | test("Test result with attachment", async () => { 6 | // To attach a single file 7 | qase.attach({ paths: "./test/attachments/test-file.txt" }); 8 | 9 | /* 10 | // Add multiple attachments. 11 | qase.attach({ paths: ['/path/to/file', '/path/to/another/file'] }); 12 | 13 | // Upload file's contents directly from code. 14 | qase.attach({ name: 'attachment.txt', content: 'Hello, world!', contentType: 'text/plain' }); 15 | */ 16 | 17 | expect(true).toBe(true); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /examples/playwright/test/comment.spec.js: -------------------------------------------------------------------------------- 1 | import { test, expect } from "@playwright/test"; 2 | import { qase } from "playwright-qase-reporter"; 3 | 4 | test.describe("Example: comment.spec.js", () => { 5 | test("A test case with qase.comment()", () => { 6 | /* 7 | * Please note, this comment is added to a Result, not to the Test case. 8 | */ 9 | 10 | qase.comment( 11 | "This comment will be displayed in the 'Actual Result' field of the test result in Qase.", 12 | ); 13 | 14 | expect(true).toBe(true); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /examples/playwright/test/id.spec.js: -------------------------------------------------------------------------------- 1 | import { test, expect } from "@playwright/test"; 2 | import { qase } from "playwright-qase-reporter"; 3 | 4 | 5 | test.describe("Example: id.spec.js", () => { 6 | 7 | test(qase(1, "Defining Id: Format 1"), () => { 8 | expect(true).toBe(true); 9 | }); 10 | 11 | 12 | test("Defining Id: Format 2", () => { 13 | qase.id(2); 14 | expect(true).toBe(true); 15 | }); 16 | 17 | 18 | test( 19 | "Defining Id: Format 3", 20 | { 21 | annotation: { type: "QaseID", description: "3" }, 22 | }, 23 | async () => { 24 | expect(true).toBe(true); 25 | }, 26 | ); 27 | }); 28 | -------------------------------------------------------------------------------- /examples/playwright/test/ignore.spec.js: -------------------------------------------------------------------------------- 1 | import { test, expect } from "@playwright/test"; 2 | import { qase } from "playwright-qase-reporter"; 3 | 4 | test.describe("Example: ignore.spec.js", () => { 5 | test("This test is executed using Playwright; however, it is NOT reported to Qase", () => { 6 | qase.ignore(); 7 | expect(true).toBe(true); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /examples/playwright/test/suite.spec.js: -------------------------------------------------------------------------------- 1 | import { test, expect } from "@playwright/test"; 2 | import { qase } from "playwright-qase-reporter"; 3 | 4 | test.describe("Example: suite.spec.js", () => { 5 | test("Test with a defined suite", () => { 6 | qase.suite("Example: suite.spec.js\tThis shall be a suite name"); 7 | expect(true).toBe(true); 8 | }); 9 | 10 | test("Test within multiple levels of suite", () => { 11 | qase.suite( 12 | "Example: suite.spec.js\tThis shall be a suite name\tChild Suite", 13 | ); 14 | // A `\t` is used for dividing each suite name 15 | expect(true).toBe(true); 16 | }); 17 | }); 18 | -------------------------------------------------------------------------------- /examples/testcafe/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['plugin:testcafe/recommended'], 3 | }; 4 | -------------------------------------------------------------------------------- /examples/testcafe/.gitignore: -------------------------------------------------------------------------------- 1 | screenshots 2 | build 3 | -------------------------------------------------------------------------------- /examples/testcafe/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /examples/testcafe/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "examples-testcafe", 3 | "private": true, 4 | "scripts": { 5 | "test": "QASE_MODE=testops npx testcafe \"chrome\" simpleTests.js attachmentTests.js -r spec,qase -s path=screenshots,takeOnFails=true" 6 | }, 7 | "devDependencies": { 8 | "eslint-plugin-testcafe": "^0.2.1", 9 | "testcafe": "^2.6.0", 10 | "testcafe-reporter-qase": "^2.0.3" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /examples/testcafe/qase.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "debug": true, 3 | 4 | "testops": { 5 | "api": { 6 | "token": "api_key" 7 | }, 8 | 9 | "project": "project_code", 10 | "uploadAttachments": true, 11 | 12 | "run": { 13 | "complete": true 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /qase-api-client/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | src 3 | -------------------------------------------------------------------------------- /qase-api-client/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-api-client/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | test 5 | coverage 6 | src 7 | -------------------------------------------------------------------------------- /qase-api-client/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | /src 4 | -------------------------------------------------------------------------------- /qase-api-client/docs/Attachment.md: -------------------------------------------------------------------------------- 1 | # Attachment 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **size** | number | File size in bytes | 8 | | **mime** | string | File MIME type | 9 | | **filename** | string | File name | 10 | | **url** | string | File download URL | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/AttachmentListResponse.md: -------------------------------------------------------------------------------- 1 | # AttachmentListResponse 2 | 3 | Represents the response model returned when retrieving a list of attachments in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status indicator | [optional] 10 | **result** | [**AttachmentListResponseAllOfResult**](AttachmentListResponseAllOfResult.md) | Container for the list of attachments | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/AttachmentResponse.md: -------------------------------------------------------------------------------- 1 | # AttachmentResponse 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **status** | **boolean** | Operation status indicator | 8 | | **result** | [**Attachment**](Attachment.md) | The attachment object | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | -------------------------------------------------------------------------------- /qase-api-client/docs/AttachmentUploadsResponse.md: -------------------------------------------------------------------------------- 1 | # AttachmentUploadsResponse 2 | 3 | Represents the response model returned when uploading multiple attachments to Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status indicator | [optional] 10 | **result** | [**AttachmentUpload[]**](AttachmentUpload.md) | List of successfully uploaded attachments | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/AuthorListResponse.md: -------------------------------------------------------------------------------- 1 | # AuthorListResponse 2 | 3 | Represents the response model returned when retrieving a list of authors in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status indicator | [optional] 10 | **result** | [**AuthorListResponseAllOfResult**](AuthorListResponseAllOfResult.md) | Container for the list of authors | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/AuthorResponse.md: -------------------------------------------------------------------------------- 1 | # AuthorResponse 2 | 3 | Represents the response model returned when retrieving a single author's details in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status indicator | [optional] 10 | **result** | [**Author**](Author.md) | Author details object | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/BaseResponse.md: -------------------------------------------------------------------------------- 1 | # BaseResponse 2 | 3 | ## Description 4 | 5 | Base response model for all API responses in Qase TMS. Contains the status of the operation. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **status** | **boolean** | Indicates whether the operation was successful | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/Bulk200Response.md: -------------------------------------------------------------------------------- 1 | # Bulk200Response 2 | 3 | Represents the response from a bulk operation in Qase TMS, typically used for batch processing of test cases, results, or other entities. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | [optional] 10 | **result** | [**Bulk200ResponseAllOfResult**](Bulk200ResponseAllOfResult.md) | Result object containing operation details | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/Bulk200ResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # Bulk200ResponseAllOfResult 2 | 3 | ## Description 4 | 5 | Result model for successful bulk operations in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **ids** | **number[]** | Ids of the affected items | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/Configuration.md: -------------------------------------------------------------------------------- 1 | # Configuration 2 | 3 | Represents a configuration entity in Qase TMS, used for managing test environment configurations and settings. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **id** | **number** | Unique identifier of the configuration | [optional] 10 | **title** | **string** | Name or description of the configuration | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/ConfigurationCreate.md: -------------------------------------------------------------------------------- 1 | # ConfigurationCreate 2 | 3 | ## Description 4 | 5 | Model for creating a new configuration in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **title** | **string** | Configuration title (required) | 12 | | **group_id** | **number** | ID of the configuration group | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/ConfigurationGroup.md: -------------------------------------------------------------------------------- 1 | # ConfigurationGroup 2 | 3 | ## Description 4 | 5 | Model representing a configuration group in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **id** | **number** | Unique identifier of the configuration group | 12 | | **title** | **string** | Title of the configuration group | 13 | | **configurations** | [**Configuration[]**](Configuration.md) | List of configurations in this group | 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | -------------------------------------------------------------------------------- /qase-api-client/docs/ConfigurationGroupCreate.md: -------------------------------------------------------------------------------- 1 | # ConfigurationGroupCreate 2 | 3 | ## Description 4 | 5 | Model for creating a new configuration group in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **title** | **string** | Title of the configuration group (required) | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/ConfigurationListResponse.md: -------------------------------------------------------------------------------- 1 | # ConfigurationListResponse 2 | 3 | ## Description 4 | 5 | Response model for listing configurations in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **status** | **boolean** | Operation status | 12 | | **result** | [**ConfigurationListResponseAllOfResult**](ConfigurationListResponseAllOfResult.md) | Response result containing configurations | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/CustomFieldCreateValueInner.md: -------------------------------------------------------------------------------- 1 | # CustomFieldCreateValueInner 2 | 3 | Represents a value option for custom fields of type 'select', 'multiselect', or 'checkbox' in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **id** | **number** | Unique identifier of the value option | [optional] 10 | **title** | **string** | Display text of the value option | [required] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/CustomFieldListResponse.md: -------------------------------------------------------------------------------- 1 | # CustomFieldListResponse 2 | 3 | Response model for retrieving a list of custom fields in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status. `true` indicates successful operation. | [optional] 10 | **result** | [**CustomFieldsResponseAllOfResult**](CustomFieldsResponseAllOfResult.md) | Contains the list of custom fields and pagination information. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/CustomFieldResponse.md: -------------------------------------------------------------------------------- 1 | # CustomFieldResponse 2 | 3 | Response model for retrieving a single custom field in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status. `true` indicates successful operation. | [optional] 10 | **result** | [**CustomField**](CustomField.md) | The custom field object containing all field properties. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/CustomFieldValue.md: -------------------------------------------------------------------------------- 1 | # CustomFieldValue 2 | 3 | Model representing a value for a custom field in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **id** | **number** | Unique identifier of the custom field. | [optional] 10 | **value** | **string** | The value of the custom field. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/CustomFieldsResponse.md: -------------------------------------------------------------------------------- 1 | # CustomFieldsResponse 2 | 3 | Response model for custom fields operations in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status. `true` indicates successful operation. | [optional] 10 | **result** | [**CustomFieldsResponseAllOfResult**](CustomFieldsResponseAllOfResult.md) | Contains the list of custom fields and pagination information. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/DefectListResponse.md: -------------------------------------------------------------------------------- 1 | # DefectListResponse 2 | 3 | Response model for retrieving a list of defects in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status. `true` indicates successful operation. | [optional] 10 | **result** | [**DefectListResponseAllOfResult**](DefectListResponseAllOfResult.md) | Contains the list of defects and pagination information. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/DefectListResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # DefectListResponseAllOfResult 2 | 3 | Result model containing paginated list of defects in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **total** | **number** | Total number of defects in the system. | [optional] 10 | **filtered** | **number** | Number of defects after applying filters. | [optional] 11 | **count** | **number** | Number of defects in the current page. | [optional] 12 | **entities** | [**Defect[]**](Defect.md) | Array of defect objects. | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/DefectResponse.md: -------------------------------------------------------------------------------- 1 | # DefectResponse 2 | 3 | Response model for retrieving a single defect in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status. `true` indicates successful operation. | [optional] 10 | **result** | [**Defect**](Defect.md) | The defect object containing all defect properties. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/DefectStatus.md: -------------------------------------------------------------------------------- 1 | # DefectStatus 2 | 3 | Represents the status model for defects in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **string** | The status of the defect (e.g., 'invalid', 'resolved', 'in_progress') | required 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | -------------------------------------------------------------------------------- /qase-api-client/docs/Environment.md: -------------------------------------------------------------------------------- 1 | # Environment 2 | 3 | Represents a test environment configuration in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **id** | **number** | Unique identifier of the environment | optional 10 | **title** | **string** | Name of the environment | optional 11 | **description** | **string** | Detailed description of the environment | optional 12 | **slug** | **string** | URL-friendly identifier of the environment | optional 13 | **host** | **string** | Host URL or address of the environment | optional 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | -------------------------------------------------------------------------------- /qase-api-client/docs/EnvironmentCreate.md: -------------------------------------------------------------------------------- 1 | # EnvironmentCreate 2 | 3 | Represents the model for creating a new test environment in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the environment | required 10 | **description** | **string** | Detailed description of the environment | optional 11 | **slug** | **string** | URL-friendly identifier (will be auto-generated if not provided) | required 12 | **host** | **string** | Host URL or address of the environment | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/EnvironmentListResponse.md: -------------------------------------------------------------------------------- 1 | # EnvironmentListResponse 2 | 3 | Represents the response model for retrieving a list of environments in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status | required 10 | **result** | [**EnvironmentListResponseAllOfResult**](EnvironmentListResponseAllOfResult.md) | Response result | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/EnvironmentResponse.md: -------------------------------------------------------------------------------- 1 | # EnvironmentResponse 2 | 3 | Represents the response model for retrieving a single environment in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status | required 10 | **result** | [Environment](Environment.md) | Environment object | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/EnvironmentUpdate.md: -------------------------------------------------------------------------------- 1 | # EnvironmentUpdate 2 | 3 | Represents the model for updating an existing test environment in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the environment | optional 10 | **description** | **string** | Detailed description of the environment | optional 11 | **slug** | **string** | URL-friendly identifier | optional 12 | **host** | **string** | Host URL or address of the environment | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/ExternalIssue.md: -------------------------------------------------------------------------------- 1 | # ExternalIssue 2 | 3 | Represents an external issue integration in Qase TMS, allowing linking of test cases and results with issues in external systems. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **type** | **string** | Type of external issue system (e.g., 'jira', 'github', 'gitlab') | [optional] 10 | **issues** | [**ExternalIssueIssuesInner[]**](ExternalIssueIssuesInner.md) | List of linked external issues | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/ExternalIssueIssuesInner.md: -------------------------------------------------------------------------------- 1 | # ExternalIssueIssuesInner 2 | 3 | Represents a single external issue reference within an external issue system integration in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **id** | **string** | External issue identifier (e.g., 'PROJ-123' for Jira) | [optional] 10 | **link** | **string** | URL to the external issue | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/HashResponse.md: -------------------------------------------------------------------------------- 1 | # HashResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **status** | **boolean** | Operation status. `true` indicates successful operation. | [optional] 8 | **result** | [**Hash**](Hash.md) | The hash object | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | -------------------------------------------------------------------------------- /qase-api-client/docs/HashResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # HashResponseAllOfResult 2 | 3 | Represents the result object containing a hash value returned from various operations in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **hash** | **string** | Unique identifier hash value | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | -------------------------------------------------------------------------------- /qase-api-client/docs/IdResponse.md: -------------------------------------------------------------------------------- 1 | # IdResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **status** | **boolean** | Operation status. `true` indicates successful operation. | [optional] 8 | **result** | **number** | ID of the created/updated/deleted entity | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | -------------------------------------------------------------------------------- /qase-api-client/docs/IdResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # IdResponseAllOfResult 2 | 3 | Represents the result object in responses that return an ID in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **id** | **number** | Identifier of the created/updated entity | required 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | -------------------------------------------------------------------------------- /qase-api-client/docs/MilestoneCreate.md: -------------------------------------------------------------------------------- 1 | # MilestoneCreate 2 | 3 | Represents the model for creating a new milestone in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the milestone | required 10 | **description** | **string** | Detailed description of the milestone | optional 11 | **status** | **string** | Status of the milestone (active, completed) | optional 12 | **due_date** | **number** | Due date timestamp | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/MilestoneListResponse.md: -------------------------------------------------------------------------------- 1 | # MilestoneListResponse 2 | 3 | Represents the response model for retrieving a list of milestones in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status | required 10 | **result** | [MilestoneListResponseAllOfResult](MilestoneListResponseAllOfResult.md) | Response result containing milestones data | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/MilestoneListResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # MilestoneListResponseAllOfResult 2 | 3 | Represents the result object in the milestone list response from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **total** | **number** | Total number of milestones | optional 10 | **filtered** | **number** | Number of milestones after applying filters | optional 11 | **count** | **number** | Number of milestones in current response | optional 12 | **entities** | [**Milestone[]**](Milestone.md) | Array of milestone objects | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/MilestoneResponse.md: -------------------------------------------------------------------------------- 1 | # MilestoneResponse 2 | 3 | Represents the response model for retrieving a single milestone in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status | required 10 | **result** | [Milestone](Milestone.md) | Milestone object | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/MilestoneUpdate.md: -------------------------------------------------------------------------------- 1 | # MilestoneUpdate 2 | 3 | Represents the model for updating an existing milestone in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the milestone | optional 10 | **description** | **string** | Detailed description of the milestone | optional 11 | **status** | **string** | Status of the milestone (active, completed) | optional 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/PlanCreate.md: -------------------------------------------------------------------------------- 1 | # PlanCreate 2 | 3 | Represents the model for creating a new test plan in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the test plan | required 10 | **description** | **string** | Detailed description of the test plan | optional 11 | **cases** | **number[]** | Array of test case IDs to include in the plan | required 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/PlanDetailedAllOfCases.md: -------------------------------------------------------------------------------- 1 | # PlanDetailedAllOfCases 2 | 3 | Represents a test case within a detailed test plan in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **case_id** | **number** | Unique identifier of the test case | optional 10 | **assignee_id** | **number** | ID of the user assigned to execute this test case | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/PlanListResponse.md: -------------------------------------------------------------------------------- 1 | # PlanListResponse 2 | 3 | Represents the response model for retrieving a list of test plans in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status | required 10 | **result** | [PlanListResponseAllOfResult](PlanListResponseAllOfResult.md) | Response result containing test plans data | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/PlanListResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # PlanListResponseAllOfResult 2 | 3 | Represents the result object in the test plan list response from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **total** | **number** | Total number of test plans | optional 10 | **filtered** | **number** | Number of test plans after applying filters | optional 11 | **count** | **number** | Number of test plans in current response | optional 12 | **entities** | [**Plan[]**](Plan.md) | Array of test plan objects | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/PlanResponse.md: -------------------------------------------------------------------------------- 1 | # PlanResponse 2 | 3 | Represents the response model for retrieving a single test plan in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status | required 10 | **result** | [PlanDetailed](PlanDetailed.md) | Detailed test plan object | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/PlanUpdate.md: -------------------------------------------------------------------------------- 1 | # PlanUpdate 2 | 3 | Represents the model for updating an existing test plan in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the test plan | optional 10 | **description** | **string** | Detailed description of the test plan | optional 11 | **cases** | **number[]** | Array of test case IDs to include in the plan | optional 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/Project.md: -------------------------------------------------------------------------------- 1 | # Project 2 | 3 | Represents a project entity in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the project | optional 10 | **code** | **string** | Unique project code (used in API requests) | optional 11 | **counts** | [ProjectCounts](ProjectCounts.md) | Statistics about project entities | optional 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectAccess.md: -------------------------------------------------------------------------------- 1 | # ProjectAccess 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **member_id** | **number** | Team member id title. | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectCodeResponse.md: -------------------------------------------------------------------------------- 1 | # ProjectCodeResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **status** | **bool** | | [optional] 8 | **result** | [**ProjectCodeResponseAllOfResult**](ProjectCodeResponseAllOfResult.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectCodeResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # ProjectCodeResponseAllOfResult 2 | 3 | Represents the result object containing the project code in a response from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **code** | **string** | Unique project code identifier | optional 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectCountsDefects.md: -------------------------------------------------------------------------------- 1 | # ProjectCountsDefects 2 | 3 | Represents statistics about defects in a project in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **total** | **number** | Total number of defects in the project | optional 10 | **open** | **number** | Number of currently open defects | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectCountsRuns.md: -------------------------------------------------------------------------------- 1 | # ProjectCountsRuns 2 | 3 | Represents statistics about test runs in a project in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **total** | **number** | Total number of test runs in the project | optional 10 | **active** | **number** | Number of currently active test runs | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectCreate.md: -------------------------------------------------------------------------------- 1 | # ProjectCreate 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **title** | **str** | Project title. | 8 | **code** | **str** | Project code. Unique for team. Digits and special characters are not allowed. | 9 | **description** | **str** | Project description. | [optional] 10 | **access** | **str** | | [optional] 11 | **group** | **str** | Team group hash. Required if access param is set to group. | [optional] 12 | **settings** | **Dict[str, object]** | Additional project settings. | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectListResponse.md: -------------------------------------------------------------------------------- 1 | # ProjectListResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **status** | **bool** | | [optional] 8 | **result** | [**ProjectListResponseAllOfResult**](ProjectListResponseAllOfResult.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | -------------------------------------------------------------------------------- /qase-api-client/docs/ProjectResponse.md: -------------------------------------------------------------------------------- 1 | # ProjectResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **status** | **bool** | | [optional] 8 | **result** | [**Project**](Project.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | -------------------------------------------------------------------------------- /qase-api-client/docs/Response.md: -------------------------------------------------------------------------------- 1 | # Response 2 | 3 | ## Description 4 | 5 | Base response model for all API responses in Qase TMS. Contains the status of the operation. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **status** | **boolean** | Indicates whether the operation was successful | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/ResultCreateBulk.md: -------------------------------------------------------------------------------- 1 | # ResultCreateBulk 2 | 3 | Represents the model for creating multiple test execution results in a single request in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **results** | [**ResultCreate[]**](ResultCreate.md) | Array of test results to create | required 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | -------------------------------------------------------------------------------- /qase-api-client/docs/ResultCreateResponse.md: -------------------------------------------------------------------------------- 1 | # ResultCreateResponse 2 | 3 | Represents the response model returned after creating a test result in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | optional 10 | **result** | [**ResultCreateResponseAllOfResult**](ResultCreateResponseAllOfResult.md) | Created result details | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/ResultCreateResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # ResultCreateResponseAllOfResult 2 | 3 | Represents the result details returned in the response after creating a test result in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **case_id** | **number** | ID of the test case for which the result was created | optional 10 | **hash** | **string** | Unique hash identifier of the created result | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/ResultListResponse.md: -------------------------------------------------------------------------------- 1 | # ResultListResponse 2 | 3 | Represents the response model returned when retrieving a list of test results from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | optional 10 | **result** | [**ResultListResponseAllOfResult**](ResultListResponseAllOfResult.md) | List of test results with pagination info | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/ResultListResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # ResultListResponseAllOfResult 2 | 3 | Represents the paginated result set containing test results in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **total** | **number** | Total number of test results available | optional 10 | **filtered** | **number** | Number of results after applying filters | optional 11 | **count** | **number** | Number of results in the current page | optional 12 | **entities** | [**Result[]**](Result.md) | List of test result entities | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/ResultResponse.md: -------------------------------------------------------------------------------- 1 | # ResultResponse 2 | 3 | Represents the response model returned when retrieving a specific test result from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | optional 10 | **result** | [**Result**](Result.md) | Detailed test result information | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunEnvironment.md: -------------------------------------------------------------------------------- 1 | # RunEnvironment 2 | 3 | Represents an environment configuration for test runs in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Display name of the environment | optional 10 | **description** | **string** | Detailed description of the environment | optional 11 | **slug** | **string** | Unique identifier slug for the environment | optional 12 | **host** | **string** | Base URL or host for the environment | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunListResponse.md: -------------------------------------------------------------------------------- 1 | # RunListResponse 2 | 3 | Represents the response model returned when retrieving a list of test runs from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | optional 10 | **result** | [**RunListResponseAllOfResult**](RunListResponseAllOfResult.md) | Paginated list of test runs | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunListResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # RunListResponseAllOfResult 2 | 3 | Represents the paginated result set containing test runs in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **total** | **number** | Total number of test runs available | optional 10 | **filtered** | **number** | Number of runs after applying filters | optional 11 | **count** | **number** | Number of runs in the current page | optional 12 | **entities** | [**Run[]**](Run.md) | List of test run entities | optional 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunMilestone.md: -------------------------------------------------------------------------------- 1 | # RunMilestone 2 | 3 | Represents a milestone associated with a test run in Qase TMS. Milestones help track testing progress against project goals and releases. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **title** | **string** | Name of the milestone | optional 10 | **description** | **string** | Detailed description of the milestone | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunPublic.md: -------------------------------------------------------------------------------- 1 | # RunPublic 2 | 3 | Represents the public access status of a test run in Qase TMS. Public runs can be accessed and viewed by users without authentication. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Whether the run is publicly accessible | required 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunPublicResponse.md: -------------------------------------------------------------------------------- 1 | # RunPublicResponse 2 | 3 | Represents the response model returned when managing public access to a test run in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | optional 10 | **result** | [**RunPublicResponseAllOfResult**](RunPublicResponseAllOfResult.md) | Public access details | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunPublicResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # RunPublicResponseAllOfResult 2 | 3 | Represents the result details returned when managing public access to a test run in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **url** | **string** | Public access URL for the test run | optional 10 | **hash** | **string** | Unique hash identifier for public access | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/RunResponse.md: -------------------------------------------------------------------------------- 1 | # RunResponse 2 | 3 | Represents the response model returned when retrieving a specific test run from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | optional 10 | **result** | [**Run**](Run.md) | Detailed test run information | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/SearchResponse.md: -------------------------------------------------------------------------------- 1 | # SearchResponse 2 | 3 | Represents the response model returned when performing a search operation using Qase Query Language (QQL). 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation success status | optional 10 | **result** | [**SearchResponseAllOfResult**](SearchResponseAllOfResult.md) | Search results containing found entities | optional 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/SharedStepListResponse.md: -------------------------------------------------------------------------------- 1 | # SharedStepListResponse 2 | 3 | Represents the response model returned when retrieving a list of shared steps in Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status indicator | [optional] 10 | **result** | [**SharedStepListResponseAllOfResult**](SharedStepListResponseAllOfResult.md) | Container for the list of shared steps | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/SharedStepResponse.md: -------------------------------------------------------------------------------- 1 | # SharedStepResponse 2 | 3 | Represents the response object returned when retrieving a shared step from Qase TMS. 4 | 5 | ## Properties 6 | 7 | Name | Type | Description | Notes 8 | ------------ | ------------- | ------------- | ------------- 9 | **status** | **boolean** | Operation status indicator | [optional] 10 | **result** | [**SharedStep**](SharedStep.md) | Retrieved shared step object | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/Suite.md: -------------------------------------------------------------------------------- 1 | # Suite 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **id** | number | Suite ID | 8 | | **title** | string | Suite title | 9 | | **description** | string | Suite description | 10 | | **preconditions** | string | Suite preconditions | 11 | | **parent_id** | number | Parent suite ID | 12 | | **cases_count** | number | Number of test cases in the suite | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/SuiteCreate.md: -------------------------------------------------------------------------------- 1 | # SuiteCreate 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **title** | string | Suite title | 8 | | **description** | string | Suite description | 9 | | **preconditions** | string | Suite preconditions | 10 | | **parent_id** | number | Parent suite ID | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/SuiteDelete.md: -------------------------------------------------------------------------------- 1 | # SuiteDelete 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **force** | boolean | Force deletion of suite with all test cases | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | -------------------------------------------------------------------------------- /qase-api-client/docs/SuiteList.md: -------------------------------------------------------------------------------- 1 | # SuiteList 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **total** | number | Total number of suites | 8 | | **filtered** | number | Number of suites after filtering | 9 | | **count** | number | Number of suites in the current page | 10 | | **entities** | [**Array<Suite>**](Suite.md) | List of suites | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/SuiteListResponse.md: -------------------------------------------------------------------------------- 1 | # SuiteListResponse 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **result** | [**SuiteList**](SuiteList.md) | The list of suites | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | -------------------------------------------------------------------------------- /qase-api-client/docs/SuiteResponse.md: -------------------------------------------------------------------------------- 1 | # SuiteResponse 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **result** | [**Suite**](Suite.md) | The suite object | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | -------------------------------------------------------------------------------- /qase-api-client/docs/SuiteUpdate.md: -------------------------------------------------------------------------------- 1 | # SuiteUpdate 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **title** | string | Suite title | 8 | | **description** | string | Suite description | 9 | | **preconditions** | string | Suite preconditions | 10 | | **parent_id** | number | Parent suite ID | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/SystemFieldList.md: -------------------------------------------------------------------------------- 1 | # SystemFieldList 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **total** | number | Total number of system fields | 8 | | **filtered** | number | Number of system fields after filtering | 9 | | **count** | number | Number of system fields in the current page | 10 | | **entities** | [**Array<SystemField>**](SystemField.md) | List of system fields | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/SystemFieldListResponse.md: -------------------------------------------------------------------------------- 1 | # SystemFieldListResponse 2 | 3 | ## Properties 4 | 5 | | Name | Type | Description | 6 | |------|------|-------------| 7 | | **result** | [**SystemFieldList**](SystemFieldList.md) | The list of system fields | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | -------------------------------------------------------------------------------- /qase-api-client/docs/TagValue.md: -------------------------------------------------------------------------------- 1 | # TagValue 2 | 3 | ## Description 4 | 5 | Tag value model represents a value for a custom field of type 'tag' in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **title** | **string** | Display title of the tag value | 12 | | **internal_id** | **number** | Internal identifier of the tag value | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestCaseExternalIssues.md: -------------------------------------------------------------------------------- 1 | # TestCaseExternalIssues 2 | 3 | ## Description 4 | 5 | Model representing external issue tracking system integration with test cases. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **type** | **string** | Type of external issue tracking system (e.g., 'jira', 'github') | 12 | | **links** | [**TestCaseExternalIssuesLinksInner[]**](TestCaseExternalIssuesLinksInner.md) | Array of links between test cases and external issues | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestCaseExternalIssuesLinksInner.md: -------------------------------------------------------------------------------- 1 | # TestCaseExternalIssuesLinksInner 2 | 3 | ## Description 4 | 5 | Model representing links between test cases and external issue tracking systems. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **case_id** | **number** | ID of the test case | 12 | | **external_issues** | **string[]** | Array of external issue IDs or URLs | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestCaseListResponse.md: -------------------------------------------------------------------------------- 1 | # TestCaseListResponse 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **status** | **bool** | | [optional] 8 | **result** | [**TestCaseListResponseAllOfResult**](TestCaseListResponseAllOfResult.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestCaseListResponseAllOfResult.md: -------------------------------------------------------------------------------- 1 | # TestCaseListResponseAllOfResult 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **total** | **int** | | [optional] 8 | **filtered** | **int** | | [optional] 9 | **count** | **int** | | [optional] 10 | **entities** | [**TestCase[]**](TestCase.md) | | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestCaseResponse.md: -------------------------------------------------------------------------------- 1 | # TestCaseResponse 2 | 3 | ## Description 4 | 5 | Response model for test case operations in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **status** | **boolean** | Operation status | 12 | | **result** | [**TestCase**](TestCase.md) | Test case object | 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestCasebulk.md: -------------------------------------------------------------------------------- 1 | # TestCasebulk 2 | 3 | ## Description 4 | 5 | Model for bulk operations with test cases in Qase TMS. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | 10 | |------|------|-------------| 11 | | **cases** | [**TestCasebulkCasesInner[]**](TestCasebulkCasesInner.md) | Array of test cases for bulk operations | 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestStepCreate.md: -------------------------------------------------------------------------------- 1 | # TestStepCreate 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **action** | **str** | | [optional] 8 | **expected_result** | **str** | | [optional] 9 | **data** | **str** | | [optional] 10 | **position** | **int** | | [optional] 11 | **attachments** | **str[]** | A list of Attachment hashes. | [optional] 12 | **steps** | **object[]** | Nested steps may be passed here. Use same structure for them. | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | -------------------------------------------------------------------------------- /qase-api-client/docs/TestStepResultCreate.md: -------------------------------------------------------------------------------- 1 | # TestStepResultCreate 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **position** | **int** | | [optional] 8 | **status** | **str** | | 9 | **comment** | **str** | | [optional] 10 | **attachments** | **str[]** | | [optional] 11 | **action** | **str** | | [optional] 12 | **expected_result** | **str** | | [optional] 13 | **data** | **str** | | [optional] 14 | **steps** | **List[object]** | Nested steps results may be passed here. Use same structure for them. | [optional] 15 | 16 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 17 | -------------------------------------------------------------------------------- /qase-api-client/src/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | export * from "./api"; 17 | export * from "./configuration"; 18 | export * from "./model"; 19 | -------------------------------------------------------------------------------- /qase-api-client/src/model/attachment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { AttachmentGet } from './attachment-get'; 17 | import { AttachmentResponseAllOf } from './attachment-response-all-of'; 18 | import { BaseResponse } from './base-response'; 19 | 20 | /** 21 | * @type AttachmentResponse 22 | * @export 23 | */ 24 | export type AttachmentResponse = AttachmentResponseAllOf & BaseResponse; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/author-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Author } from './author'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface AuthorResponseAllOf 22 | */ 23 | export interface AuthorResponseAllOf { 24 | /** 25 | * 26 | * @type {Author} 27 | * @memberof AuthorResponseAllOf 28 | */ 29 | 'result'?: Author; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/author-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Author } from './author'; 17 | import { AuthorResponseAllOf } from './author-response-all-of'; 18 | import { BaseResponse } from './base-response'; 19 | 20 | /** 21 | * @type AuthorResponse 22 | * @export 23 | */ 24 | export type AuthorResponse = AuthorResponseAllOf & BaseResponse; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/base-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface BaseResponse 21 | */ 22 | export interface BaseResponse { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof BaseResponse 27 | */ 28 | 'status'?: boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/bulk200-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface Bulk200ResponseAllOfResult 21 | */ 22 | export interface Bulk200ResponseAllOfResult { 23 | /** 24 | * 25 | * @type {Array} 26 | * @memberof Bulk200ResponseAllOfResult 27 | */ 28 | 'ids'?: Array; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/configuration-group-create.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ConfigurationGroupCreate 21 | */ 22 | export interface ConfigurationGroupCreate { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof ConfigurationGroupCreate 27 | */ 28 | 'title': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/defect-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Defect } from './defect'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface DefectResponseAllOf 22 | */ 23 | export interface DefectResponseAllOf { 24 | /** 25 | * 26 | * @type {Defect} 27 | * @memberof DefectResponseAllOf 28 | */ 29 | 'result'?: Defect; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/defect-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Defect } from './defect'; 18 | import { DefectResponseAllOf } from './defect-response-all-of'; 19 | 20 | /** 21 | * @type DefectResponse 22 | * @export 23 | */ 24 | export type DefectResponse = BaseResponse & DefectResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/environment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Environment } from './environment'; 18 | import { EnvironmentResponseAllOf } from './environment-response-all-of'; 19 | 20 | /** 21 | * @type EnvironmentResponse 22 | * @export 23 | */ 24 | export type EnvironmentResponse = BaseResponse & EnvironmentResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/hash-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface HashResponseAllOfResult 21 | */ 22 | export interface HashResponseAllOfResult { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof HashResponseAllOfResult 27 | */ 28 | 'hash'?: string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/hash-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { HashResponseAllOf } from './hash-response-all-of'; 18 | import { HashResponseAllOfResult } from './hash-response-all-of-result'; 19 | 20 | /** 21 | * @type HashResponse 22 | * @export 23 | */ 24 | export type HashResponse = BaseResponse & HashResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/id-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface IdResponseAllOfResult 21 | */ 22 | export interface IdResponseAllOfResult { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof IdResponseAllOfResult 27 | */ 28 | 'id'?: number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/id-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { IdResponseAllOf } from './id-response-all-of'; 18 | import { IdResponseAllOfResult } from './id-response-all-of-result'; 19 | 20 | /** 21 | * @type IdResponse 22 | * @export 23 | */ 24 | export type IdResponse = BaseResponse & IdResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/milestone-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Milestone } from './milestone'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface MilestoneResponseAllOf 22 | */ 23 | export interface MilestoneResponseAllOf { 24 | /** 25 | * 26 | * @type {Milestone} 27 | * @memberof MilestoneResponseAllOf 28 | */ 29 | 'result'?: Milestone; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/milestone-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Milestone } from './milestone'; 18 | import { MilestoneResponseAllOf } from './milestone-response-all-of'; 19 | 20 | /** 21 | * @type MilestoneResponse 22 | * @export 23 | */ 24 | export type MilestoneResponse = BaseResponse & MilestoneResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/plan-detailed.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Plan } from './plan'; 17 | import { PlanDetailedAllOf } from './plan-detailed-all-of'; 18 | import { PlanDetailedAllOfCases } from './plan-detailed-all-of-cases'; 19 | 20 | /** 21 | * @type PlanDetailed 22 | * @export 23 | */ 24 | export type PlanDetailed = Plan & PlanDetailedAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/plan-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { PlanDetailed } from './plan-detailed'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface PlanResponseAllOf 22 | */ 23 | export interface PlanResponseAllOf { 24 | /** 25 | * 26 | * @type {PlanDetailed} 27 | * @memberof PlanResponseAllOf 28 | */ 29 | 'result'?: PlanDetailed; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/plan-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { PlanDetailed } from './plan-detailed'; 18 | import { PlanResponseAllOf } from './plan-response-all-of'; 19 | 20 | /** 21 | * @type PlanResponse 22 | * @export 23 | */ 24 | export type PlanResponse = BaseResponse & PlanResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/project-access.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ProjectAccess 21 | */ 22 | export interface ProjectAccess { 23 | /** 24 | * Team member id title. 25 | * @type {number} 26 | * @memberof ProjectAccess 27 | */ 28 | 'member_id'?: number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/project-code-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ProjectCodeResponseAllOfResult 21 | */ 22 | export interface ProjectCodeResponseAllOfResult { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof ProjectCodeResponseAllOfResult 27 | */ 28 | 'code'?: string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/project-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Project } from './project'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ProjectResponseAllOf 22 | */ 23 | export interface ProjectResponseAllOf { 24 | /** 25 | * 26 | * @type {Project} 27 | * @memberof ProjectResponseAllOf 28 | */ 29 | 'result'?: Project; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/project-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Project } from './project'; 18 | import { ProjectResponseAllOf } from './project-response-all-of'; 19 | 20 | /** 21 | * @type ProjectResponse 22 | * @export 23 | */ 24 | export type ProjectResponse = BaseResponse & ProjectResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface Response 21 | */ 22 | export interface Response { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof Response 27 | */ 28 | 'status'?: boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/result-create-bulk.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { ResultCreate } from './result-create'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ResultCreateBulk 22 | */ 23 | export interface ResultCreateBulk { 24 | /** 25 | * 26 | * @type {Array} 27 | * @memberof ResultCreateBulk 28 | */ 29 | 'results': Array; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/result-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Result } from './result'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ResultResponseAllOf 22 | */ 23 | export interface ResultResponseAllOf { 24 | /** 25 | * 26 | * @type {Result} 27 | * @memberof ResultResponseAllOf 28 | */ 29 | 'result'?: Result; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/result-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Result } from './result'; 18 | import { ResultResponseAllOf } from './result-response-all-of'; 19 | 20 | /** 21 | * @type ResultResponse 22 | * @export 23 | */ 24 | export type ResultResponse = BaseResponse & ResultResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/resultcreate-bulk.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { ResultCreate } from './result-create'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ResultcreateBulk 22 | */ 23 | export interface ResultcreateBulk { 24 | /** 25 | * 26 | * @type {Array} 27 | * @memberof ResultcreateBulk 28 | */ 29 | 'results': Array; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/run-public-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface RunPublicResponseAllOfResult 21 | */ 22 | export interface RunPublicResponseAllOfResult { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof RunPublicResponseAllOfResult 27 | */ 28 | 'url'?: string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/run-public.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface RunPublic 21 | */ 22 | export interface RunPublic { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof RunPublic 27 | */ 28 | 'status': boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/run-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Run } from './run'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface RunResponseAllOf 22 | */ 23 | export interface RunResponseAllOf { 24 | /** 25 | * 26 | * @type {Run} 27 | * @memberof RunResponseAllOf 28 | */ 29 | 'result'?: Run; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/run-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Run } from './run'; 18 | import { RunResponseAllOf } from './run-response-all-of'; 19 | 20 | /** 21 | * @type RunResponse 22 | * @export 23 | */ 24 | export type RunResponse = BaseResponse & RunResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/search-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { SearchResponseAllOf } from './search-response-all-of'; 18 | import { SearchResponseAllOfResult } from './search-response-all-of-result'; 19 | 20 | /** 21 | * @type SearchResponse 22 | * @export 23 | */ 24 | export type SearchResponse = BaseResponse & SearchResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/shared-step-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { SharedStep } from './shared-step'; 18 | import { SharedStepResponseAllOf } from './shared-step-response-all-of'; 19 | 20 | /** 21 | * @type SharedStepResponse 22 | * @export 23 | */ 24 | export type SharedStepResponse = BaseResponse & SharedStepResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/suite-delete.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface SuiteDelete 21 | */ 22 | export interface SuiteDelete { 23 | /** 24 | * If provided, child test cases would be moved to suite with such ID. 25 | * @type {number} 26 | * @memberof SuiteDelete 27 | */ 28 | 'destination_id'?: number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/src/model/suite-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Suite } from './suite'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface SuiteResponseAllOf 22 | */ 23 | export interface SuiteResponseAllOf { 24 | /** 25 | * 26 | * @type {Suite} 27 | * @memberof SuiteResponseAllOf 28 | */ 29 | 'result'?: Suite; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/suite-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Suite } from './suite'; 18 | import { SuiteResponseAllOf } from './suite-response-all-of'; 19 | 20 | /** 21 | * @type SuiteResponse 22 | * @export 23 | */ 24 | export type SuiteResponse = BaseResponse & SuiteResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/test-case-params.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface TestCaseParams 21 | */ 22 | export interface TestCaseParams { 23 | } 24 | 25 | -------------------------------------------------------------------------------- /qase-api-client/src/model/test-case-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { TestCase } from './test-case'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface TestCaseResponseAllOf 22 | */ 23 | export interface TestCaseResponseAllOf { 24 | /** 25 | * 26 | * @type {TestCase} 27 | * @memberof TestCaseResponseAllOf 28 | */ 29 | 'result'?: TestCase; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-client/src/model/test-case-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { TestCase } from './test-case'; 18 | import { TestCaseResponseAllOf } from './test-case-response-all-of'; 19 | 20 | /** 21 | * @type TestCaseResponse 22 | * @export 23 | */ 24 | export type TestCaseResponse = BaseResponse & TestCaseResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qase-api-client/src/model/test-casebulk-cases-inner-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface TestCasebulkCasesInnerAllOf 21 | */ 22 | export interface TestCasebulkCasesInnerAllOf { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof TestCasebulkCasesInnerAllOf 27 | */ 28 | 'id'?: number | null; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-client/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./**/*.ts"], 9 | "exclude": ["node_modules", "dist"] 10 | } 11 | -------------------------------------------------------------------------------- /qase-api-client/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "outDir": "dist", 6 | "declaration": true, 7 | "skipLibCheck": true, 8 | "noImplicitAny": true, 9 | "noEmit": true, 10 | "noEmitOnError": true, 11 | 12 | "typeRoots": ["node_modules/@types"] 13 | }, 14 | 15 | "exclude": ["dist", "node_modules"] 16 | } 17 | -------------------------------------------------------------------------------- /qase-api-v2-client/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | src 3 | -------------------------------------------------------------------------------- /qase-api-v2-client/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-api-v2-client/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | test 5 | coverage 6 | src 7 | -------------------------------------------------------------------------------- /qase-api-v2-client/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | /src 4 | -------------------------------------------------------------------------------- /qase-api-v2-client/docs/RelationSuite.md: -------------------------------------------------------------------------------- 1 | # RelationSuite 2 | 3 | ## Description 4 | 5 | Model for test suite relation. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Required | 10 | |------|------|-------------|----------| 11 | | data | [RelationSuiteItem](RelationSuiteItem.md)[] | Array of suite items | Yes | 12 | 13 | ## Example 14 | 15 | ```typescript 16 | const suite: RelationSuite = { 17 | data: [], 18 | }; 19 | ``` 20 | 21 | ## Related Models 22 | 23 | - [ResultRelations](ResultRelations.md) 24 | -------------------------------------------------------------------------------- /qase-api-v2-client/docs/RelationSuiteItem.md: -------------------------------------------------------------------------------- 1 | # RelationSuiteItem 2 | 3 | ## Description 4 | 5 | Model for test case relation. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Required | 10 | |------|------|-------------|----------| 11 | | public_id | number | Suite ID | No | 12 | | title | string | Suite title | Yes | 13 | 14 | ## Example 15 | 16 | ```typescript 17 | const suiteItem: RelationSuiteItem = { 18 | public_id: 1, 19 | title: 'Login with valid credentials' 20 | }; 21 | ``` 22 | 23 | ## Related Models 24 | 25 | - [ResultRelations](ResultRelations.md) 26 | -------------------------------------------------------------------------------- /qase-api-v2-client/docs/ResultRelations.md: -------------------------------------------------------------------------------- 1 | # ResultRelations 2 | 3 | ## Description 4 | 5 | Model for test result relations. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Required | 10 | |------|------|-------------|----------| 11 | | suite | [RelationSuite](RelationSuite.md) | Related test suite | No | 12 | 13 | ## Example 14 | 15 | ```typescript 16 | const relations: ResultRelations = { 17 | suite: { 18 | data: [] 19 | } 20 | }; 21 | ``` 22 | 23 | ## Related Models 24 | 25 | - [RelationSuite](RelationSuite.md) 26 | -------------------------------------------------------------------------------- /qase-api-v2-client/docs/ResultStepData.md: -------------------------------------------------------------------------------- 1 | # ResultStepData 2 | 3 | ## Description 4 | 5 | Model for test step data. 6 | 7 | ## Properties 8 | 9 | | Name | Type | Description | Required | 10 | |------|------|-------------|----------| 11 | | action | string | Step action | Yes | 12 | | expected_result | string | Expected result | Yes | 13 | | input_data | string | Data result | No | 14 | | attachments | string[] | List of attachment hashes | No | 15 | 16 | ## Example 17 | 18 | ```typescript 19 | const stepData: ResultStepData = { 20 | action: 'Click on the login button', 21 | expected_result: 'User is logged in', 22 | input_data: 'User name: admin, Password: admin', 23 | attachments: ['abc123'] 24 | }; 25 | ``` 26 | 27 | ## Related Models 28 | 29 | - [ResultStep](ResultStep.md) 30 | -------------------------------------------------------------------------------- /qase-api-v2-client/docs/ResultStepStatus.md: -------------------------------------------------------------------------------- 1 | # ResultStepStatus 2 | 3 | ## Description 4 | 5 | Enumeration of possible test step statuses. 6 | 7 | ## Values 8 | 9 | | Value | Description | 10 | |-------|-------------| 11 | | passed | Step passed successfully | 12 | | failed | Step failed | 13 | | blocked | Step is blocked | 14 | | skipped | Step was skipped | 15 | | in_progress | Step is in progress | 16 | 17 | ## Example 18 | 19 | ```typescript 20 | const stepStatus: ResultStepStatus = ResultStepStatus.PASSED; 21 | ``` 22 | 23 | ## Related Models 24 | 25 | - [ResultStep](ResultStep.md) 26 | -------------------------------------------------------------------------------- /qase-api-v2-client/docs/ResultStepsType.md: -------------------------------------------------------------------------------- 1 | # ResultStepsType 2 | 3 | ## Description 4 | 5 | Enumeration of test step types. 6 | 7 | ## Values 8 | 9 | | Value | Description | 10 | |-------|-------------| 11 | | classic | Classic test steps format | 12 | | gherkin | Gherkin format steps (Given/When/Then) | 13 | 14 | ## Example 15 | 16 | ```typescript 17 | const stepsType: ResultStepsType = ResultStepsType.CLASSIC; 18 | ``` 19 | 20 | ## Related Models 21 | 22 | - [ResultCreate](ResultCreate.md) 23 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | export * from './api/results-api'; 18 | 19 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | export * from "./api"; 17 | export * from "./configuration"; 18 | export * from "./model"; 19 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/model/base-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface BaseResponse 21 | */ 22 | export interface BaseResponse { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof BaseResponse 27 | */ 28 | 'status'?: boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/model/index.ts: -------------------------------------------------------------------------------- 1 | export * from './base-response'; 2 | export * from './create-results-request-v2'; 3 | export * from './relation-suite'; 4 | export * from './relation-suite-item'; 5 | export * from './result-create'; 6 | export * from './result-create-bulk-response'; 7 | export * from './result-create-fields'; 8 | export * from './result-create-response'; 9 | export * from './result-create-response-all-of'; 10 | export * from './result-create-response-all-of-result'; 11 | export * from './result-execution'; 12 | export * from './result-relations'; 13 | export * from './result-step'; 14 | export * from './result-step-data'; 15 | export * from './result-step-execution'; 16 | export * from './result-step-status'; 17 | export * from './result-steps-type'; 18 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/model/result-create-bulk-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | 18 | /** 19 | * @type ResultCreateBulkResponse 20 | * @export 21 | */ 22 | export type ResultCreateBulkResponse = BaseResponse; 23 | 24 | 25 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/model/result-relations.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { RelationSuite } from './relation-suite'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ResultRelations 22 | */ 23 | export interface ResultRelations { 24 | /** 25 | * 26 | * @type {RelationSuite} 27 | * @memberof ResultRelations 28 | */ 29 | 'suite'?: RelationSuite | null; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/model/result-step-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ResultStepStatus { 24 | PASSED = 'passed', 25 | FAILED = 'failed', 26 | BLOCKED = 'blocked', 27 | SKIPPED = 'skipped', 28 | IN_PROGRESS = 'in_progress' 29 | } 30 | 31 | 32 | -------------------------------------------------------------------------------- /qase-api-v2-client/src/model/result-steps-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ResultStepsType { 24 | CLASSIC = 'classic', 25 | GHERKIN = 'gherkin' 26 | } 27 | 28 | 29 | -------------------------------------------------------------------------------- /qase-api-v2-client/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-api-v2-client/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "outDir": "dist", 6 | "declaration": true, 7 | "skipLibCheck": true, 8 | "noImplicitAny": true, 9 | "noEmit": true, 10 | "noEmitOnError": true, 11 | 12 | "typeRoots": ["node_modules/@types"] 13 | }, 14 | 15 | "exclude": ["dist", "node_modules"] 16 | } 17 | -------------------------------------------------------------------------------- /qase-cucumberjs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-cucumberjs/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-cucumberjs/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-cucumberjs/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-cucumberjs/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | }, 8 | testMatch: ['**/*.test.ts'], 9 | moduleFileExtensions: ['js', 'ts'], 10 | collectCoverage: true, 11 | testEnvironment: 'node', 12 | }; 13 | -------------------------------------------------------------------------------- /qase-cucumberjs/screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-cucumberjs/screenshots/demo.gif -------------------------------------------------------------------------------- /qase-cucumberjs/screenshots/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-cucumberjs/screenshots/screenshot.png -------------------------------------------------------------------------------- /qase-cucumberjs/src/index.ts: -------------------------------------------------------------------------------- 1 | import { CucumberQaseReporter } from './reporter'; 2 | 3 | export = CucumberQaseReporter; 4 | -------------------------------------------------------------------------------- /qase-cucumberjs/src/models.ts: -------------------------------------------------------------------------------- 1 | export interface TestMetadata { 2 | ids: number[]; 3 | fields: Record; 4 | title: string | null; 5 | isIgnore: boolean; 6 | } 7 | -------------------------------------------------------------------------------- /qase-cucumberjs/test/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-cucumberjs/test/.gitkeep -------------------------------------------------------------------------------- /qase-cucumberjs/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-cucumberjs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-cypress/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-cypress/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-cypress/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-cypress/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-cypress/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | }, 8 | testMatch: ['**/*.test.ts'], 9 | moduleFileExtensions: ['js', 'ts'], 10 | collectCoverage: true, 11 | testEnvironment: 'node', 12 | }; 13 | -------------------------------------------------------------------------------- /qase-cypress/screenshots/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-cypress/screenshots/screenshot.png -------------------------------------------------------------------------------- /qase-cypress/src/child.js: -------------------------------------------------------------------------------- 1 | import { QaseReporter } from 'qase-javascript-commons'; 2 | 3 | 4 | const options = JSON.parse(process.env?.reporterConfig); 5 | const results = JSON.parse(process.env?.results); 6 | 7 | 8 | const runChild = async () => { 9 | const reporter = QaseReporter.getInstance(options); 10 | reporter.setTestResults(results); 11 | 12 | await reporter.sendResults(); 13 | }; 14 | 15 | runChild(); 16 | -------------------------------------------------------------------------------- /qase-cypress/src/configSchema.ts: -------------------------------------------------------------------------------- 1 | import { JSONSchemaType } from 'ajv' 2 | 3 | import { FrameworkOptionsType } from 'qase-javascript-commons' 4 | 5 | import { ReporterOptionsType } from './options' 6 | 7 | export const configSchema: JSONSchemaType> = { 8 | type: 'object', 9 | nullable: true, 10 | 11 | properties: { 12 | framework: { 13 | type: 'object', 14 | nullable: true, 15 | 16 | properties: { 17 | cypress: { 18 | type: 'object', 19 | nullable: true, 20 | 21 | properties: { 22 | screenshotsFolder: { 23 | type: 'string', 24 | nullable: true, 25 | } 26 | } 27 | } 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /qase-cypress/src/index.cjs.ts: -------------------------------------------------------------------------------- 1 | export { qase } from './mocha'; 2 | export { enableCucumberSupport } from './cucumber'; 3 | -------------------------------------------------------------------------------- /qase-cypress/src/index.ts: -------------------------------------------------------------------------------- 1 | import { CypressQaseReporter } from './reporter'; 2 | 3 | export = CypressQaseReporter; 4 | -------------------------------------------------------------------------------- /qase-cypress/src/options.ts: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line @typescript-eslint/consistent-type-definitions 2 | export type ReporterOptionsType = { 3 | screenshotsFolder?: string; 4 | }; 5 | -------------------------------------------------------------------------------- /qase-cypress/src/plugin.js: -------------------------------------------------------------------------------- 1 | import { afterRunHook, beforeRunHook } from './hooks'; 2 | 3 | module.exports = function (on, config) { 4 | on('before:run', async () => { 5 | await beforeRunHook(config); 6 | }); 7 | 8 | on('after:run', async () => { 9 | await afterRunHook(config); 10 | }); 11 | }; 12 | -------------------------------------------------------------------------------- /qase-cypress/src/utils/traverse-dir.ts: -------------------------------------------------------------------------------- 1 | import { readdirSync } from 'fs'; 2 | import path from 'path'; 3 | 4 | // TODO: get rid of recursion 5 | export const traverseDir = ( 6 | dirPath: string, 7 | callback: (filePath: string) => void, 8 | ) => { 9 | const items = readdirSync(dirPath, { withFileTypes: true }); 10 | 11 | items.forEach((item) => { 12 | const itemPath = path.join(dirPath, item.name); 13 | 14 | if (item.isFile()) { 15 | callback(itemPath); 16 | } else if (item.isDirectory()) { 17 | try { 18 | traverseDir(itemPath, callback); 19 | } catch (error) {/* ignore */} 20 | } 21 | }); 22 | }; 23 | -------------------------------------------------------------------------------- /qase-cypress/test/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-cypress/test/.gitkeep -------------------------------------------------------------------------------- /qase-cypress/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts", "./src/*.js"], 9 | } 10 | -------------------------------------------------------------------------------- /qase-cypress/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-javascript-commons/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-javascript-commons/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-javascript-commons/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | test 5 | coverage 6 | src 7 | -------------------------------------------------------------------------------- /qase-javascript-commons/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-javascript-commons/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | }, 8 | testMatch: ['**/*.test.ts'], 9 | moduleFileExtensions: ['js', 'ts'], 10 | collectCoverage: true, 11 | testEnvironment: 'node', 12 | }; 13 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/client/dateUtils.ts: -------------------------------------------------------------------------------- 1 | // Utils 2 | const pad = (num: number) => num.toString().padStart(2, '0'); 3 | 4 | export function formatUTCDate(date: Date): string { 5 | const year = date.getUTCFullYear(); 6 | const month = pad(date.getUTCMonth() + 1); 7 | const day = pad(date.getUTCDate()); 8 | const hours = pad(date.getUTCHours()); 9 | const minutes = pad(date.getUTCMinutes()); 10 | const seconds = pad(date.getUTCSeconds()); 11 | 12 | return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; 13 | } 14 | 15 | export function getStartTime(): string { 16 | const date = new Date(); 17 | return formatUTCDate(new Date(date.getTime() - 10000)); 18 | } 19 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/client/interface.ts: -------------------------------------------------------------------------------- 1 | import { TestResultType } from "../models"; 2 | 3 | export interface IClient { 4 | createRun(): Promise; 5 | completeRun(runId: number): Promise; 6 | uploadResults(runId: number, results: TestResultType[]): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/config/config-loader-interface.ts: -------------------------------------------------------------------------------- 1 | import { ConfigType } from './config-type' 2 | 3 | export interface ConfigLoaderInterface> { 4 | load(files: string[]): (T & ConfigType) | null; 5 | } 6 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/config/config-type.ts: -------------------------------------------------------------------------------- 1 | import { OptionsType } from '../options'; 2 | 3 | export type ConfigType = Omit; 4 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/config/index.ts: -------------------------------------------------------------------------------- 1 | export { type ConfigType } from './config-type'; 2 | export { configValidationSchema } from './config-validation-schema'; 3 | export { type ConfigLoaderInterface } from './config-loader-interface'; 4 | export { ConfigLoader } from './config-loader'; 5 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/env/index.ts: -------------------------------------------------------------------------------- 1 | export { 2 | EnvEnum, 3 | EnvTestOpsEnum, 4 | EnvApiEnum, 5 | EnvRunEnum, 6 | EnvLocalEnum, 7 | } from './env-enum'; 8 | 9 | export { type EnvType } from './env-type'; 10 | export { envValidationSchema } from './env-validation-schema'; 11 | export { envToConfig } from './env-to-config'; 12 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/formatter/formatter-interface.ts: -------------------------------------------------------------------------------- 1 | export interface FormatterInterface { 2 | format(result: unknown): Promise; 3 | } 4 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/formatter/index.ts: -------------------------------------------------------------------------------- 1 | export { type FormatterInterface } from './formatter-interface'; 2 | export { JsonFormatter } from './json-formatter'; 3 | export { JsonpFormatter } from './jsonp-formatter'; 4 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './qase'; 2 | export * from './config'; 3 | export * from './env'; 4 | export * from './formatter'; 5 | export * from './models'; 6 | export * from './options'; 7 | export * from './reporters'; 8 | export * from './writer'; 9 | 10 | export * from './utils/get-package-version'; 11 | export * from './utils/mimeTypes'; 12 | export * from './utils/signature'; 13 | export * from './steps/step'; 14 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/attachment.ts: -------------------------------------------------------------------------------- 1 | export interface Attachment { 2 | file_name: string; 3 | mime_type: string; 4 | file_path: string | null; 5 | content: string | Buffer; 6 | size: number; 7 | id: string; 8 | } -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/error.ts: -------------------------------------------------------------------------------- 1 | export class CompoundError { 2 | message: string | undefined; 3 | stacktrace: string | undefined; 4 | 5 | constructor() { 6 | this.message = 'CompoundError: One or more errors occurred. ---\n'; 7 | } 8 | 9 | addMessage(message: string): void { 10 | this.message += `${message}\n--- End of error message ---\n`; 11 | } 12 | 13 | addStacktrace(stacktrace: string): void { 14 | if (!this.stacktrace) { 15 | this.stacktrace = `${indentAll(stacktrace)}\n--- End of stack trace ---\n`; 16 | return 17 | } 18 | 19 | this.stacktrace += `${indentAll(stacktrace)}\n--- End of stack trace ---\n`; 20 | } 21 | } 22 | 23 | function indentAll(lines: string) { 24 | return lines.split('\n').map(x => ' ' + x).join('\n'); 25 | } 26 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/execution-sum.ts: -------------------------------------------------------------------------------- 1 | export interface ExecutionSum { 2 | start_time: number 3 | end_time: number 4 | duration: number 5 | cumulative_duration: number 6 | } -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/host-data.ts: -------------------------------------------------------------------------------- 1 | export interface HostData { 2 | system: string; 3 | machineName: string; 4 | release: string; 5 | version: string; 6 | arch: string; 7 | node: string; 8 | npm: string; 9 | framework: string; 10 | reporter: string; 11 | commons: string; 12 | apiClientV1: string; 13 | apiClientV2: string; 14 | } 15 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/index.ts: -------------------------------------------------------------------------------- 1 | export { TestResultType, Relation, Suite, SuiteData } from './test-result'; 2 | export { TestExecution, TestStatusEnum } from './test-execution'; 3 | export { TestStepType, StepType } from './test-step'; 4 | export { StepStatusEnum } from './step-execution'; 5 | export { Attachment } from './attachment'; 6 | export { Report } from './report'; 7 | export { CompoundError } from './error'; 8 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/report.ts: -------------------------------------------------------------------------------- 1 | import { HostData } from './host-data'; 2 | import { ShortResult } from './short-result'; 3 | import { Stats } from './stats'; 4 | import { ExecutionSum } from './execution-sum'; 5 | 6 | export interface Report { 7 | environment: string 8 | execution: ExecutionSum 9 | host_data: HostData 10 | results: ShortResult[] 11 | stats: Stats 12 | suites: string[] 13 | threads: string[] 14 | title: string 15 | } 16 | 17 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/short-result.ts: -------------------------------------------------------------------------------- 1 | export interface ShortResult { 2 | id: string 3 | title: string 4 | status: string 5 | duration: number 6 | thread: string | null 7 | } -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/stats.ts: -------------------------------------------------------------------------------- 1 | export interface Stats { 2 | passed: number 3 | failed: number 4 | skipped: number 5 | broken: number 6 | muted: number 7 | total: number 8 | } -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/step-data.ts: -------------------------------------------------------------------------------- 1 | export interface StepTextData { 2 | action: string; 3 | expected_result: string | null; 4 | data: string | null; 5 | } 6 | 7 | export interface StepGherkinData { 8 | keyword: string; 9 | name: string; 10 | line: number; 11 | } 12 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/step-execution.ts: -------------------------------------------------------------------------------- 1 | export enum StepStatusEnum { 2 | passed = 'passed', 3 | failed = 'failed', 4 | blocked = 'blocked', 5 | skipped = 'skipped', 6 | } 7 | 8 | export class StepExecution { 9 | start_time: number | null; 10 | status: StepStatusEnum; 11 | end_time: number | null; 12 | duration: number | null; 13 | 14 | constructor() { 15 | this.status = StepStatusEnum.passed; 16 | this.start_time = null; 17 | this.end_time = null; 18 | this.duration = null; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/models/test-execution.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @enum {string} 3 | */ 4 | export enum TestStatusEnum { 5 | passed = 'passed', 6 | failed = 'failed', 7 | skipped = 'skipped', 8 | disabled = 'disabled', 9 | blocked = 'blocked', 10 | invalid = 'invalid', 11 | } 12 | 13 | export class TestExecution { 14 | start_time: number | null; 15 | status: TestStatusEnum; 16 | end_time: number | null; 17 | duration: number | null; 18 | stacktrace: string | null; 19 | thread: string | null; 20 | 21 | constructor() { 22 | this.status = TestStatusEnum.passed; 23 | this.start_time = null; 24 | this.end_time = null; 25 | this.duration = null; 26 | this.stacktrace = null; 27 | this.thread = null; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/options/composeOptions.ts: -------------------------------------------------------------------------------- 1 | import mergeWith from 'lodash.mergewith'; 2 | 3 | type MergedType> = 4 | T extends [infer F, ...(infer R)] ? MergedType : A; 5 | 6 | declare module 'lodash' { 7 | interface LoDashStatic { 8 | mergeWith(...args: [...T, MergeWithCustomizer]): MergedType; 9 | } 10 | } 11 | 12 | const skipUndef = (value: unknown, src: unknown) => (src === undefined ? value : undefined); 13 | 14 | export const composeOptions = (...args: T): MergedType<[NonNullable, ...T]> => { 15 | return mergeWith({}, ...args, skipUndef); 16 | } 17 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/options/index.ts: -------------------------------------------------------------------------------- 1 | export { ModeEnum } from './mode-enum'; 2 | export { type OptionsType, type FrameworkOptionsType } from './options-type'; 3 | export { composeOptions } from './composeOptions'; 4 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/options/mode-enum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @enum {string} 3 | */ 4 | export enum ModeEnum { 5 | report = 'report', 6 | testops = 'testops', 7 | off = 'off', 8 | } 9 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/reporters/index.ts: -------------------------------------------------------------------------------- 1 | export { 2 | AbstractReporter, 3 | type InternalReporterInterface, 4 | } from './abstract-reporter'; 5 | export { ReportReporter } from './report-reporter'; 6 | export { TestOpsReporter} from './testops-reporter'; 7 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/utils/disabled-exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @class DisabledException 3 | * @extends Error 4 | */ 5 | export class DisabledException extends Error {} 6 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/utils/get-package-version.ts: -------------------------------------------------------------------------------- 1 | import { readFileSync } from 'fs'; 2 | 3 | /** 4 | * @param {string} name 5 | * @returns {undefined | string} 6 | */ 7 | export const getPackageVersion = (name: string) => { 8 | try { 9 | const pathToPackageJson = require.resolve(`${name}/package.json`, { 10 | paths: [process.cwd()], 11 | }); 12 | 13 | const packageString = readFileSync(pathToPackageJson, 'utf8'); 14 | const packageObject: unknown = JSON.parse(packageString); 15 | 16 | if ( 17 | typeof packageObject === 'object' && 18 | packageObject && 19 | 'version' in packageObject 20 | ) { 21 | return String(packageObject.version); 22 | } 23 | } catch {/* ignore */} 24 | 25 | return undefined; 26 | }; 27 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/utils/is-axios-error.ts: -------------------------------------------------------------------------------- 1 | import { AxiosError } from 'axios'; 2 | 3 | /** 4 | * @param error 5 | * @returns {error is AxiosError} 6 | */ 7 | export const isAxiosError = (error: unknown): error is AxiosError => 8 | error instanceof Error 9 | && 'isAxiosError' in error 10 | && Boolean(error.isAxiosError); 11 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/utils/mimeTypes.ts: -------------------------------------------------------------------------------- 1 | import * as path from 'path'; 2 | import * as mime from 'mime-types'; 3 | 4 | /** 5 | * Get mime type of the file 6 | * @param {string} filePath 7 | */ 8 | export function getMimeTypes(filePath: string): string { 9 | const fileName: string = path.basename(filePath); 10 | const mimeType: string | false = mime.contentType(fileName); 11 | if (!mimeType && typeof mimeType !== 'string') { 12 | return 'application/octet-stream'; 13 | } 14 | return mimeType; 15 | } 16 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/utils/qase-error.ts: -------------------------------------------------------------------------------- 1 | export interface ErrorOptionsType { 2 | cause?: unknown; 3 | } 4 | 5 | export interface QaseErrorInterface extends Error { 6 | cause?: unknown; 7 | } 8 | 9 | /** 10 | * @class QaseError 11 | * @extends Error 12 | * @implements QaseErrorInterface 13 | */ 14 | export class QaseError extends Error implements QaseErrorInterface { 15 | /** 16 | * @type {unknown} 17 | */ 18 | public override cause?: unknown; 19 | 20 | constructor(message?: string, options?: ErrorOptionsType) { 21 | super(message); 22 | 23 | this.cause = options?.cause; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/writer/driver-enum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @enum {string} 3 | */ 4 | export enum DriverEnum { 5 | local = 'local', 6 | } 7 | 8 | 9 | /** 10 | * @enum {string} 11 | */ 12 | export enum FormatEnum { 13 | json = 'json', 14 | jsonp = 'jsonp', 15 | } 16 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/writer/index.ts: -------------------------------------------------------------------------------- 1 | export { type WriterInterface } from './writer-interface'; 2 | export { FsWriter, type FsWriterOptionsType } from './fs-writer'; 3 | export { DriverEnum, FormatEnum } from './driver-enum'; 4 | -------------------------------------------------------------------------------- /qase-javascript-commons/src/writer/writer-interface.ts: -------------------------------------------------------------------------------- 1 | import { TestResultType, Attachment, Report } from '../models'; 2 | 3 | export interface WriterInterface { 4 | writeReport(results: Report): Promise; 5 | writeTestResult(result: TestResultType): Promise; 6 | writeAttachment(attachments: Attachment[]): Attachment[]; 7 | clearPreviousResults(): void; 8 | } 9 | -------------------------------------------------------------------------------- /qase-javascript-commons/test/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-javascript-commons/test/.gitkeep -------------------------------------------------------------------------------- /qase-javascript-commons/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-javascript-commons/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-jest/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-jest/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-jest/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-jest/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-jest/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | }, 8 | testMatch: ['**/*.test.ts'], 9 | moduleFileExtensions: ['js', 'ts'], 10 | collectCoverage: true, 11 | testEnvironment: 'node', 12 | }; 13 | -------------------------------------------------------------------------------- /qase-jest/screenshots/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-jest/screenshots/screenshot.png -------------------------------------------------------------------------------- /qase-jest/src/index.ts: -------------------------------------------------------------------------------- 1 | import { JestQaseReporter } from './reporter'; 2 | 3 | export = JestQaseReporter; 4 | -------------------------------------------------------------------------------- /qase-jest/src/models.ts: -------------------------------------------------------------------------------- 1 | import { Attachment, TestStepType } from 'qase-javascript-commons'; 2 | 3 | export interface Metadata { 4 | title: string | undefined; 5 | ignore: boolean; 6 | comment: string | undefined; 7 | suite: string | undefined; 8 | fields: Record; 9 | parameters: Record; 10 | groupParams: Record; 11 | steps: TestStepType[]; 12 | attachments: Attachment[]; 13 | } 14 | -------------------------------------------------------------------------------- /qase-jest/test/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-jest/test/.gitkeep -------------------------------------------------------------------------------- /qase-jest/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-jest/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-mocha/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-mocha/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-mocha/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-mocha/src/index.ts: -------------------------------------------------------------------------------- 1 | import { MochaQaseReporter } from './reporter'; 2 | 3 | module.exports = MochaQaseReporter; 4 | -------------------------------------------------------------------------------- /qase-mocha/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-mocha/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-newman/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-newman/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-newman/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-newman/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-newman/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | }, 8 | testMatch: ['**/*.test.ts'], 9 | moduleFileExtensions: ['js', 'ts'], 10 | collectCoverage: true, 11 | testEnvironment: 'node', 12 | }; 13 | -------------------------------------------------------------------------------- /qase-newman/screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-newman/screenshots/demo.gif -------------------------------------------------------------------------------- /qase-newman/screenshots/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-newman/screenshots/screenshot.png -------------------------------------------------------------------------------- /qase-newman/src/configSchema.ts: -------------------------------------------------------------------------------- 1 | import { JSONSchemaType } from 'ajv'; 2 | 3 | import { FrameworkOptionsType } from 'qase-javascript-commons'; 4 | 5 | import { ReporterOptionsType } from './options'; 6 | 7 | export const configSchema: JSONSchemaType> = { 8 | type: 'object', 9 | nullable: true, 10 | 11 | properties: { 12 | framework: { 13 | type: 'object', 14 | nullable: true, 15 | 16 | properties: { 17 | newman: { 18 | type: 'object', 19 | nullable: true, 20 | 21 | properties: { 22 | autoCollectParams: { 23 | type: 'boolean', 24 | nullable: true, 25 | }, 26 | }, 27 | }, 28 | }, 29 | }, 30 | }, 31 | }; 32 | -------------------------------------------------------------------------------- /qase-newman/src/index.ts: -------------------------------------------------------------------------------- 1 | import { NewmanQaseReporter } from './reporter'; 2 | 3 | export = NewmanQaseReporter; 4 | -------------------------------------------------------------------------------- /qase-newman/src/options.ts: -------------------------------------------------------------------------------- 1 | export interface ReporterOptionsType { 2 | autoCollectParams?: boolean; 3 | } 4 | -------------------------------------------------------------------------------- /qase-newman/test/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-newman/test/.gitkeep -------------------------------------------------------------------------------- /qase-newman/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-newman/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-playwright/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-playwright/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-playwright/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-playwright/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-playwright/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | }, 8 | testMatch: ['**/*.test.ts'], 9 | moduleFileExtensions: ['js', 'ts'], 10 | collectCoverage: true, 11 | testEnvironment: 'node', 12 | }; 13 | -------------------------------------------------------------------------------- /qase-playwright/screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-playwright/screenshots/demo.gif -------------------------------------------------------------------------------- /qase-playwright/screenshots/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-playwright/screenshots/screenshot.png -------------------------------------------------------------------------------- /qase-playwright/screenshots/test-run.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-playwright/screenshots/test-run.gif -------------------------------------------------------------------------------- /qase-playwright/src/index.ts: -------------------------------------------------------------------------------- 1 | export { 2 | PlaywrightQaseReporter as default, 3 | type PlaywrightQaseOptionsType, 4 | } from './reporter'; 5 | 6 | export { 7 | qase 8 | } from './playwright'; 9 | -------------------------------------------------------------------------------- /qase-playwright/src/options.ts: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line @typescript-eslint/consistent-type-definitions 2 | export type ReporterOptionsType = { 3 | browser?: { 4 | addAsParameter?: boolean; 5 | parameterName?: string; 6 | }; 7 | }; 8 | -------------------------------------------------------------------------------- /qase-playwright/test/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-playwright/test/.gitkeep -------------------------------------------------------------------------------- /qase-playwright/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-playwright/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-testcafe/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-testcafe/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-testcafe/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-testcafe/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-testcafe/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | }, 8 | testMatch: ['**/*.test.ts'], 9 | moduleFileExtensions: ['js', 'ts'], 10 | collectCoverage: true, 11 | testEnvironment: 'node', 12 | }; 13 | -------------------------------------------------------------------------------- /qase-testcafe/screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-testcafe/screenshots/demo.gif -------------------------------------------------------------------------------- /qase-testcafe/screenshots/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-testcafe/screenshots/screenshot.png -------------------------------------------------------------------------------- /qase-testcafe/src/global.ts: -------------------------------------------------------------------------------- 1 | import { TestcafeQaseReporter } from './reporter'; 2 | import { Attachment, TestStepType } from 'qase-javascript-commons'; 3 | 4 | declare global { 5 | // eslint-disable-next-line @typescript-eslint/no-namespace 6 | namespace NodeJS { 7 | interface Global { 8 | Qase: Qase; 9 | } 10 | } 11 | } 12 | 13 | export class Qase { 14 | private reporter: TestcafeQaseReporter; 15 | 16 | constructor(reporter: TestcafeQaseReporter) { 17 | this.reporter = reporter; 18 | } 19 | 20 | step(step: TestStepType): void { 21 | this.reporter.addStep(step); 22 | } 23 | 24 | attachment(attachment: Attachment): void { 25 | this.reporter.addAttachment(attachment); 26 | } 27 | } 28 | 29 | export {}; 30 | -------------------------------------------------------------------------------- /qase-testcafe/src/index.ts: -------------------------------------------------------------------------------- 1 | import { factory } from './factory'; 2 | 3 | export = factory; 4 | -------------------------------------------------------------------------------- /qase-testcafe/test/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qase-tms/qase-javascript/629c06262e6a95f734d025da56cdfb32f6f987c3/qase-testcafe/test/.gitkeep -------------------------------------------------------------------------------- /qase-testcafe/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-testcafe/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qase-wdio/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-wdio/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qase-wdio/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | examples 5 | test 6 | coverage 7 | src 8 | -------------------------------------------------------------------------------- /qase-wdio/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | -------------------------------------------------------------------------------- /qase-wdio/src/events.ts: -------------------------------------------------------------------------------- 1 | export const events = { 2 | addQaseID: 'qase:id', 3 | addTitle: 'qase:title', 4 | addFields: 'qase:fields', 5 | addSuite: 'qase:suite', 6 | addIgnore: 'qase:ignore', 7 | addParameters: 'qase:parameters', 8 | addGroupParameters: 'qase:groupParameters', 9 | addAttachment: 'qase:attachment', 10 | startStep: 'qase:startStep', 11 | endStep: 'qase:endStep', 12 | addStep: 'qase:addStep', 13 | } as const 14 | -------------------------------------------------------------------------------- /qase-wdio/src/index.ts: -------------------------------------------------------------------------------- 1 | import WDIOQaseReporter from './reporter.js'; 2 | 3 | export * from './wdio'; 4 | export * from './hooks'; 5 | export default WDIOQaseReporter; 6 | -------------------------------------------------------------------------------- /qase-wdio/src/models.ts: -------------------------------------------------------------------------------- 1 | export interface AddQaseIdEventArgs { 2 | ids: number[]; 3 | } 4 | 5 | export interface AddRecordsEventArgs { 6 | records: Record; 7 | } 8 | 9 | export interface AddTitleEventArgs { 10 | title: string; 11 | } 12 | 13 | export interface AddSuiteEventArgs { 14 | suite: string; 15 | } 16 | 17 | export interface AddAttachmentEventArgs { 18 | name?: string; 19 | type?: string; 20 | content?: string; 21 | paths?: string[]; 22 | } 23 | -------------------------------------------------------------------------------- /qase-wdio/src/options.ts: -------------------------------------------------------------------------------- 1 | export class QaseReporterOptions { 2 | useCucumber?: boolean; 3 | disableWebdriverStepsReporting?: boolean; 4 | disableWebdriverScreenshotsReporting?: boolean; 5 | 6 | constructor() { 7 | this.useCucumber = false; 8 | this.disableWebdriverStepsReporting = false; 9 | this.disableWebdriverScreenshotsReporting = false; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /qase-wdio/src/utils.ts: -------------------------------------------------------------------------------- 1 | import { CommandArgs } from '@wdio/reporter'; 2 | 3 | /** 4 | * Check is object is empty 5 | * @param object {Object} 6 | * @private 7 | */ 8 | // eslint-disable-next-line @typescript-eslint/no-explicit-any 9 | export const isEmpty = (object: any) => 10 | // eslint-disable-next-line @typescript-eslint/no-unsafe-argument 11 | !object || Object.keys(object).length === 0; 12 | 13 | 14 | export const isScreenshotCommand = (command: CommandArgs): boolean => { 15 | const isScreenshotEndpoint = /\/session\/[^/]*(\/element\/[^/]*)?\/screenshot/ 16 | 17 | return ( 18 | // WebDriver protocol 19 | (command.endpoint && isScreenshotEndpoint.test(command.endpoint)) || 20 | // DevTools protocol 21 | command.command === 'takeScreenshot' 22 | ) 23 | } 24 | -------------------------------------------------------------------------------- /qase-wdio/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qase-wdio/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "outDir": "dist" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /qaseio/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | src/generated 3 | -------------------------------------------------------------------------------- /qaseio/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /qaseio/.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | **/tsconfig.json 3 | **/jest.config.js 4 | test 5 | coverage 6 | src 7 | -------------------------------------------------------------------------------- /qaseio/.prettierignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /coverage 3 | /src/generated 4 | -------------------------------------------------------------------------------- /qaseio/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@babel/preset-env'] 3 | }; 4 | -------------------------------------------------------------------------------- /qaseio/jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | module.exports = { 3 | preset: 'ts-jest', 4 | roots: ['/test'], 5 | transform: { 6 | '^.+\\.ts$': 'ts-jest', 7 | '^.+\\.js$': 'babel-jest' 8 | }, 9 | transformIgnorePatterns: [ 10 | '/node_modules/(?!(axios)/)' 11 | ], 12 | testMatch: ['**/*.test.ts'], 13 | moduleFileExtensions: ['js', 'ts'], 14 | collectCoverage: true, 15 | coveragePathIgnorePatterns: ['/src/generated/'], 16 | testEnvironment: 'node', 17 | }; 18 | -------------------------------------------------------------------------------- /qaseio/src/generated/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | export * from "./api"; 17 | export * from "./configuration"; 18 | export * from "./model"; 19 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/author-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Author } from './author'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface AuthorResponseAllOf 22 | */ 23 | export interface AuthorResponseAllOf { 24 | /** 25 | * 26 | * @type {Author} 27 | * @memberof AuthorResponseAllOf 28 | */ 29 | 'result'?: Author; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/author-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Author } from './author'; 17 | import { AuthorResponseAllOf } from './author-response-all-of'; 18 | import { BaseResponse } from './base-response'; 19 | 20 | /** 21 | * @type AuthorResponse 22 | * @export 23 | */ 24 | export type AuthorResponse = AuthorResponseAllOf & BaseResponse; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/base-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface BaseResponse 21 | */ 22 | export interface BaseResponse { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof BaseResponse 27 | */ 28 | 'status'?: boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/bulk200-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface Bulk200ResponseAllOfResult 21 | */ 22 | export interface Bulk200ResponseAllOfResult { 23 | /** 24 | * 25 | * @type {Array} 26 | * @memberof Bulk200ResponseAllOfResult 27 | */ 28 | 'ids'?: Array; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/configuration-group-create.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ConfigurationGroupCreate 21 | */ 22 | export interface ConfigurationGroupCreate { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof ConfigurationGroupCreate 27 | */ 28 | 'title': string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/defect-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Defect } from './defect'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface DefectResponseAllOf 22 | */ 23 | export interface DefectResponseAllOf { 24 | /** 25 | * 26 | * @type {Defect} 27 | * @memberof DefectResponseAllOf 28 | */ 29 | 'result'?: Defect; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/defect-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Defect } from './defect'; 18 | import { DefectResponseAllOf } from './defect-response-all-of'; 19 | 20 | /** 21 | * @type DefectResponse 22 | * @export 23 | */ 24 | export type DefectResponse = BaseResponse & DefectResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/hash-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface HashResponseAllOfResult 21 | */ 22 | export interface HashResponseAllOfResult { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof HashResponseAllOfResult 27 | */ 28 | 'hash'?: string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/hash-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { HashResponseAllOf } from './hash-response-all-of'; 18 | import { HashResponseAllOfResult } from './hash-response-all-of-result'; 19 | 20 | /** 21 | * @type HashResponse 22 | * @export 23 | */ 24 | export type HashResponse = BaseResponse & HashResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/id-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface IdResponseAllOfResult 21 | */ 22 | export interface IdResponseAllOfResult { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof IdResponseAllOfResult 27 | */ 28 | 'id'?: number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/id-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { IdResponseAllOf } from './id-response-all-of'; 18 | import { IdResponseAllOfResult } from './id-response-all-of-result'; 19 | 20 | /** 21 | * @type IdResponse 22 | * @export 23 | */ 24 | export type IdResponse = BaseResponse & IdResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/milestone-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Milestone } from './milestone'; 18 | import { MilestoneResponseAllOf } from './milestone-response-all-of'; 19 | 20 | /** 21 | * @type MilestoneResponse 22 | * @export 23 | */ 24 | export type MilestoneResponse = BaseResponse & MilestoneResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/plan-detailed.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Plan } from './plan'; 17 | import { PlanDetailedAllOf } from './plan-detailed-all-of'; 18 | import { PlanDetailedAllOfCases } from './plan-detailed-all-of-cases'; 19 | 20 | /** 21 | * @type PlanDetailed 22 | * @export 23 | */ 24 | export type PlanDetailed = Plan & PlanDetailedAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/plan-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { PlanDetailed } from './plan-detailed'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface PlanResponseAllOf 22 | */ 23 | export interface PlanResponseAllOf { 24 | /** 25 | * 26 | * @type {PlanDetailed} 27 | * @memberof PlanResponseAllOf 28 | */ 29 | 'result'?: PlanDetailed; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/plan-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { PlanDetailed } from './plan-detailed'; 18 | import { PlanResponseAllOf } from './plan-response-all-of'; 19 | 20 | /** 21 | * @type PlanResponse 22 | * @export 23 | */ 24 | export type PlanResponse = BaseResponse & PlanResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/project-access.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ProjectAccess 21 | */ 22 | export interface ProjectAccess { 23 | /** 24 | * Team member id title. 25 | * @type {number} 26 | * @memberof ProjectAccess 27 | */ 28 | 'member_id'?: number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/project-code-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface ProjectCodeResponseAllOfResult 21 | */ 22 | export interface ProjectCodeResponseAllOfResult { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof ProjectCodeResponseAllOfResult 27 | */ 28 | 'code'?: string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/project-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Project } from './project'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ProjectResponseAllOf 22 | */ 23 | export interface ProjectResponseAllOf { 24 | /** 25 | * 26 | * @type {Project} 27 | * @memberof ProjectResponseAllOf 28 | */ 29 | 'result'?: Project; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/project-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Project } from './project'; 18 | import { ProjectResponseAllOf } from './project-response-all-of'; 19 | 20 | /** 21 | * @type ProjectResponse 22 | * @export 23 | */ 24 | export type ProjectResponse = BaseResponse & ProjectResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface Response 21 | */ 22 | export interface Response { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof Response 27 | */ 28 | 'status'?: boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/result-relations.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { RelationSuite } from './relation-suite'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ResultRelations 22 | */ 23 | export interface ResultRelations { 24 | /** 25 | * 26 | * @type {RelationSuite} 27 | * @memberof ResultRelations 28 | */ 29 | 'suite'?: RelationSuite | null; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/result-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Result } from './result'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface ResultResponseAllOf 22 | */ 23 | export interface ResultResponseAllOf { 24 | /** 25 | * 26 | * @type {Result} 27 | * @memberof ResultResponseAllOf 28 | */ 29 | 'result'?: Result; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/result-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Result } from './result'; 18 | import { ResultResponseAllOf } from './result-response-all-of'; 19 | 20 | /** 21 | * @type ResultResponse 22 | * @export 23 | */ 24 | export type ResultResponse = BaseResponse & ResultResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/result-step-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ResultStepStatus { 24 | PASSED = 'passed', 25 | FAILED = 'failed', 26 | BLOCKED = 'blocked', 27 | SKIPPED = 'skipped' 28 | } 29 | 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/result-steps-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v2 5 | * Qase TestOps API v2 Specification. 6 | * 7 | * The version of the OpenAPI document: 2.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @enum {string} 21 | */ 22 | 23 | export enum ResultStepsType { 24 | CLASSIC = 'classic', 25 | GHERKIN = 'gherkin' 26 | } 27 | 28 | 29 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/run-public-response-all-of-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface RunPublicResponseAllOfResult 21 | */ 22 | export interface RunPublicResponseAllOfResult { 23 | /** 24 | * 25 | * @type {string} 26 | * @memberof RunPublicResponseAllOfResult 27 | */ 28 | 'url'?: string; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/run-public.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface RunPublic 21 | */ 22 | export interface RunPublic { 23 | /** 24 | * 25 | * @type {boolean} 26 | * @memberof RunPublic 27 | */ 28 | 'status': boolean; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/run-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Run } from './run'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface RunResponseAllOf 22 | */ 23 | export interface RunResponseAllOf { 24 | /** 25 | * 26 | * @type {Run} 27 | * @memberof RunResponseAllOf 28 | */ 29 | 'result'?: Run; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/run-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Run } from './run'; 18 | import { RunResponseAllOf } from './run-response-all-of'; 19 | 20 | /** 21 | * @type RunResponse 22 | * @export 23 | */ 24 | export type RunResponse = BaseResponse & RunResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/shared-step-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { SharedStep } from './shared-step'; 18 | import { SharedStepResponseAllOf } from './shared-step-response-all-of'; 19 | 20 | /** 21 | * @type SharedStepResponse 22 | * @export 23 | */ 24 | export type SharedStepResponse = BaseResponse & SharedStepResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/suite-delete.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface SuiteDelete 21 | */ 22 | export interface SuiteDelete { 23 | /** 24 | * If provided, child test cases would be moved to suite with such ID. 25 | * @type {number} 26 | * @memberof SuiteDelete 27 | */ 28 | 'destination_id'?: number; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/suite-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { Suite } from './suite'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface SuiteResponseAllOf 22 | */ 23 | export interface SuiteResponseAllOf { 24 | /** 25 | * 26 | * @type {Suite} 27 | * @memberof SuiteResponseAllOf 28 | */ 29 | 'result'?: Suite; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/suite-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { Suite } from './suite'; 18 | import { SuiteResponseAllOf } from './suite-response-all-of'; 19 | 20 | /** 21 | * @type SuiteResponse 22 | * @export 23 | */ 24 | export type SuiteResponse = BaseResponse & SuiteResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/test-case-params.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface TestCaseParams 21 | */ 22 | export interface TestCaseParams { 23 | } 24 | 25 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/test-case-response-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { TestCase } from './test-case'; 17 | 18 | /** 19 | * 20 | * @export 21 | * @interface TestCaseResponseAllOf 22 | */ 23 | export interface TestCaseResponseAllOf { 24 | /** 25 | * 26 | * @type {TestCase} 27 | * @memberof TestCaseResponseAllOf 28 | */ 29 | 'result'?: TestCase; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/test-case-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | import { BaseResponse } from './base-response'; 17 | import { TestCase } from './test-case'; 18 | import { TestCaseResponseAllOf } from './test-case-response-all-of'; 19 | 20 | /** 21 | * @type TestCaseResponse 22 | * @export 23 | */ 24 | export type TestCaseResponse = BaseResponse & TestCaseResponseAllOf; 25 | 26 | 27 | -------------------------------------------------------------------------------- /qaseio/src/generated/model/test-casebulk-cases-inner-all-of.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * Qase.io TestOps API v1 5 | * Qase TestOps API v1 Specification. 6 | * 7 | * The version of the OpenAPI document: 1.0.0 8 | * Contact: support@qase.io 9 | * 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 11 | * https://openapi-generator.tech 12 | * Do not edit the class manually. 13 | */ 14 | 15 | 16 | 17 | /** 18 | * 19 | * @export 20 | * @interface TestCasebulkCasesInnerAllOf 21 | */ 22 | export interface TestCasebulkCasesInnerAllOf { 23 | /** 24 | * 25 | * @type {number} 26 | * @memberof TestCasebulkCasesInnerAllOf 27 | */ 28 | 'id'?: number | null; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /qaseio/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generated'; 2 | 3 | export { QaseApi, QaseApiInterface } from './qaseio'; 4 | -------------------------------------------------------------------------------- /qaseio/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | 4 | "compilerOptions": { 5 | "noEmit": false 6 | }, 7 | 8 | "include": ["./src/**/*.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /qaseio/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "outDir": "dist", 6 | "declaration": true, 7 | "skipLibCheck": true, 8 | "noImplicitAny": true, 9 | "noEmit": true, 10 | "noEmitOnError": true, 11 | 12 | "typeRoots": ["node_modules/@types"] 13 | }, 14 | 15 | "exclude": ["dist", "node_modules"] 16 | } 17 | --------------------------------------------------------------------------------