mirror of
https://github.com/xibyte/jsketcher
synced 2026-02-12 02:15:09 +01:00
moving datum placeholder test
This commit is contained in:
parent
9730e2c8ec
commit
6a1fc614a5
1 changed files with 43 additions and 0 deletions
43
test/cypress/integration/part3d/wizards.spec.js
Normal file
43
test/cypress/integration/part3d/wizards.spec.js
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/// <reference types="cypress" />
|
||||
|
||||
import * as PlaneTests from '../../../coreTests/testCases/craftPlane';
|
||||
import * as ExtrudeBasicShapesTests from '../../../coreTests/testCases/craftExtrudeBasicShapes';
|
||||
import * as ExtrudeOptionsTests from '../../../coreTests/testCases/craftExtrudeOptions';
|
||||
import * as ExtrudeTests from '../../../coreTests/testCases/craftExtrude';
|
||||
import * as CutTests from '../../../coreTests/testCases/craftCut';
|
||||
import * as RevolveTests from '../../../coreTests/testCases/craftRevolve';
|
||||
import * as FilletTests from '../../../coreTests/testCases/craftFillet';
|
||||
import * as LoftTests from '../../../coreTests/testCases/craftLoft';
|
||||
import * as DatumTests from '../../../coreTests/testCases/craftDatum';
|
||||
import * as BooleanTests from '../../../coreTests/testCases/craftBoolean';
|
||||
|
||||
import {defineCypressTests} from "../../../coreTests/defineCypress";
|
||||
|
||||
describe("Wizrds", () => {
|
||||
|
||||
|
||||
afterEach(() => {
|
||||
cy.screenshot();
|
||||
});
|
||||
|
||||
it("plane wizrd should open", () => {
|
||||
createDatum();
|
||||
|
||||
|
||||
});
|
||||
|
||||
it("move datum", () => {
|
||||
createDatum();
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function createDatum() {
|
||||
cy.visit("http://localhost:3000");
|
||||
cy.get('[info="originates a new datum from origin or off of a selected face"]').click();
|
||||
cy.get('.x-Field-active > .number > input').type("100");
|
||||
|
||||
cy.get('.accent').click();
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue