- Testing (UI): Add force: true and longer timeout to get tests passing

This commit is contained in:
Brett Zamir
2020-02-21 10:33:56 +08:00
parent 178374afdf
commit 8f2d50873e
2 changed files with 2 additions and 2 deletions

View File

@@ -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');
});