|
|
|
@ -4,16 +4,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
/// <reference types="cypress" />
|
|
|
|
/// <reference types="cypress" />
|
|
|
|
|
|
|
|
|
|
|
|
import { taskName } from '../../support/const';
|
|
|
|
import { taskName, labelName } from '../../support/const';
|
|
|
|
|
|
|
|
|
|
|
|
context('Draw a point shape, specify one point', () => {
|
|
|
|
context('Draw a point shape, specify one point', () => {
|
|
|
|
const issueId = '2306';
|
|
|
|
const issueId = '2306';
|
|
|
|
const createPointsShape = {
|
|
|
|
const createPointsShape = {
|
|
|
|
type: 'Shape',
|
|
|
|
type: 'Shape',
|
|
|
|
switchLabel: false,
|
|
|
|
labelName: labelName,
|
|
|
|
pointsMap: [
|
|
|
|
pointsMap: [{ x: 500, y: 200 }],
|
|
|
|
{ x: 500, y: 200 },
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
numberOfPoints: 1,
|
|
|
|
numberOfPoints: 1,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|