Cypress test. Issue 2487. (#2571)

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
main
Dmitry Kruchinin 5 years ago committed by GitHub
parent dff11d1ada
commit 2a41b64c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,30 @@
// Copyright (C) 2020 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Extra instances on canvas when grouping.', () => {
const issueId = '2487';
before(() => {
cy.openTaskJob(taskName);
});
describe(`Testing issue "${issueId}"`, () => {
it('Go to grouping mode.', () => {
cy.changeAppearance('Group');
});
it('Start drawing a group region and press "G". Group region not exist', () => {
cy.get('.cvat-group-control').click();
cy.get('.cvat-canvas-container')
.trigger('mousedown', 250, 250, { button: 0 })
.trigger('mousemove', 500, 500);
cy.get('body').type('g');
cy.get('.cvat_canvas_shape_grouping').should('not.exist');
});
});
});
Loading…
Cancel
Save