|
|
|
|
@ -1,9 +1,7 @@
|
|
|
|
|
/* eslint-disable no-undef */
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2020 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*/
|
|
|
|
|
// Copyright (C) 2020 Intel Corporation
|
|
|
|
|
//
|
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
|
|
/// <reference types="cypress" />
|
|
|
|
|
|
|
|
|
|
@ -85,17 +83,11 @@ context('Actions on polylines', () => {
|
|
|
|
|
|
|
|
|
|
before(() => {
|
|
|
|
|
cy.openTask(taskName);
|
|
|
|
|
cy.addNewLabel(newLabelName);
|
|
|
|
|
cy.openJob();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
describe(`Testing case "${caseId}"`, () => {
|
|
|
|
|
it('Add new label', () => {
|
|
|
|
|
cy.contains('button', 'Add label').click();
|
|
|
|
|
cy.get('[placeholder="Label name"]').type(newLabelName);
|
|
|
|
|
cy.contains('button', 'Done').click();
|
|
|
|
|
});
|
|
|
|
|
it('Open a job', () => {
|
|
|
|
|
cy.openJob();
|
|
|
|
|
});
|
|
|
|
|
it('Draw a polylines shape, track', () => {
|
|
|
|
|
cy.createPolyline(createPolylinesShape);
|
|
|
|
|
cy.createPolyline(createPolylinesTrack);
|
|
|
|
|
|