fix CI issue and package upgrades (#869)

This commit is contained in:
JFH
2023-01-09 08:32:54 +01:00
committed by GitHub
parent 990cc58260
commit 86fcc112c9
69 changed files with 448 additions and 380 deletions

View File

@@ -6,20 +6,15 @@ describe('UI - Zoom tool', function () {
})
it('should be able to open', function () {
cy.get('#tool-wrapper > input')
.click({ force: true })
cy.get('#zoom')
.click()
.shadow()
.find('#options-container')
.should('have.css', 'display', 'flex')
})
it('should be able to close', function () {
cy.get('#zoom')
.click()
.shadow()
.find('#options-container')
.should('have.css', 'display', 'flex')
cy.get('#tool_select')
.click({ force: true })
.get('#zoom')
@@ -35,7 +30,7 @@ describe('UI - Zoom tool', function () {
cy.get('#zoom')
.shadow()
.find('input')
.type('200')
.type('200', { force: true })
cy.get('#tool_select')
.click({ force: true })
cy.get('#canvasBackground')
@@ -51,7 +46,7 @@ describe('UI - Zoom tool', function () {
cy.get('#zoom')
.shadow()
.find('#arrow-up')
.click()
.click({ force: true })
cy.get('#canvasBackground')
.invoke('attr', 'width')
.should('equal', (width * 1.1).toString())
@@ -65,7 +60,7 @@ describe('UI - Zoom tool', function () {
cy.get('#zoom')
.shadow()
.find('#arrow-down')
.click()
.click({ force: true })
cy.get('#canvasBackground')
.invoke('attr', 'width')
.should('equal', (width * 0.9).toString())
@@ -77,7 +72,7 @@ describe('UI - Zoom tool', function () {
.invoke('attr', 'width')
.then(width => {
cy.get('#zoom')
.click()
.click({ force: true })
.find('se-text')
.first()
.click({ force: true })
@@ -116,7 +111,7 @@ describe('UI - Zoom tool', function () {
.invoke('attr', 'width')
.then(width => {
cy.get('#zoom')
.click()
.click({ force: true })
.find("se-text[value='layer']")
.click({ force: true })
cy.get('#zoom')
@@ -135,7 +130,7 @@ describe('UI - Zoom tool', function () {
.invoke('attr', 'width')
.then(width => {
cy.get('#zoom')
.click()
.click({ force: true })
.find("se-text[value='canvas']")
.click({ force: true })
cy.get('#zoom')
@@ -168,7 +163,7 @@ describe('UI - Zoom tool', function () {
.invoke('attr', 'width')
.then(width => {
cy.get('#zoom')
.click()
.click({ force: true })
.find("se-text[value='layer']")
.click({ force: true })
cy.get('#zoom')
@@ -201,7 +196,7 @@ describe('UI - Zoom tool', function () {
.invoke('attr', 'width')
.then(width => {
cy.get('#zoom')
.click()
.click({ force: true })
.find("se-text[value='content']")
.click({ force: true })
cy.get('#zoom')