Adding test to check "Smooth image" option (#4015)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>main
parent
e45d57b9e0
commit
e375c70f36
@ -0,0 +1,28 @@
|
||||
// Copyright (C) 2021 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
/// <reference types="cypress" />
|
||||
|
||||
import { taskName } from '../../support/const';
|
||||
|
||||
context('Settings. "Smooth image" option.', () => {
|
||||
const caseId = '110';
|
||||
|
||||
before(() => {
|
||||
cy.openTaskJob(taskName);
|
||||
});
|
||||
|
||||
describe(`Testing case "${caseId}"`, () => {
|
||||
it('Check "Smooth image" option.', () => {
|
||||
cy.get('#cvat_canvas_background').should('not.have.class', 'cvat_canvas_pixelized');
|
||||
cy.openSettings();
|
||||
cy.get('.cvat-player-settings-smooth-image-checkbox')
|
||||
.find('[type="checkbox"]')
|
||||
.should('be.checked')
|
||||
.click()
|
||||
.should('not.be.checked');
|
||||
cy.get('#cvat_canvas_background').should('have.class', 'cvat_canvas_pixelized');
|
||||
});
|
||||
});
|
||||
});
|
||||
Loading…
Reference in New Issue