UNPKG

trident-beta

Version:

trident is a sample and lightly tools aims to improve collaboration efficiency between SDET and QA based on initiative from Einstein/TestIT.

31 lines (29 loc) 909 B
import { Case } from "runtime/api"; import { DATA_SETS, config } from "runtime/config"; import { User, IDataSet } from "sut/domain"; import { PageModel } from "sut/page-model"; import { loginJupiterWithExtension } from "sut/helper"; import { retry, parallel } from "lib/utils"; import { expect } from "chai"; import * as bluebird from 'bluebird'; Case(   {     name: "{{name}}",     ids: ["{{id}}"],     priority: "{{priority}}",     keywords: [{{#keywords}}"{{&.}}",{{/keywords}}],     maintainers: [{{#maintainers}}"{{&.}}",{{/maintainers}}],     docs: [{{#docs}}{{&.}},{{/docs}}],   },   async c => { {{#testSteps}} await c.step("when {{&step}}", async () => {     }); await c.step("then {{&expectedResult}}", async () => {     }); {{/testSteps}} "accountType" : "{{&accountType}}" "ExtensionType" : "{{&extensionType}}" "Entry point" : "{{&entryPoint}}"   } );