- Testing (UI): Add `force: true` and longer timeout to get tests passing
parent
178374afdf
commit
8f2d50873e
|
@ -18,7 +18,7 @@ describe('UI - Control Points', function () {
|
|||
<title>Layer 1</title>
|
||||
<path d="m187,194a114,62 0 1 0 219,2" fill="#FF0000" stroke="#000000" stroke-width="5"/>
|
||||
</g>
|
||||
</svg>`, {parseSpecialCharSequences: false});
|
||||
</svg>`, {force: true, parseSpecialCharSequences: false});
|
||||
cy.get('#tool_source_save').click();
|
||||
cy.get('#svg_1').click().click();
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ describe('UI - Tool selection', function () {
|
|||
it('should set rectangle selection by click', function () {
|
||||
cy.get('#tools_rect_show')
|
||||
.trigger('mousedown', {force: true})
|
||||
.trigger('mouseup', {force: true})
|
||||
.trigger('mouseup', {force: true, timeout: 10000})
|
||||
.should((button) => {
|
||||
expect(button).to.have.class('tool_button_current');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue