cypress 10 migration (#777)

* cypress 10 migration

* fix lint
This commit is contained in:
JFH
2022-06-18 10:32:27 +02:00
committed by GitHub
parent 29103ddf86
commit 9e3a4a9091
56 changed files with 3955 additions and 107 deletions

View File

@@ -0,0 +1,17 @@
import {
visitAndApproveStorage
} from '../../support/ui-test-helper.js'
describe('UI - Tool selection', function () {
beforeEach(() => {
visitAndApproveStorage()
})
it('should set rectangle selection by click', function () {
cy.get('#tools_rect')
.should('not.have.attr', 'pressed')
cy.get('#tools_rect')
.trigger('click', { force: true })
.should('have.attr', 'pressed')
})
})