added delay necessary to pass this test
parent
213c075425
commit
fa516488eb
|
@ -9,8 +9,10 @@ describe('Issue 364; IE errorwith rectangle selection by click', function () {
|
|||
});
|
||||
|
||||
it('should set rectangle selection after click', function () {
|
||||
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
||||
cy.get('#tools_rect_show')
|
||||
.trigger('mousedown', {force: true})
|
||||
.wait(100) // this delay seems necessary
|
||||
.trigger('mouseup', {force: true})
|
||||
.should((button) => {
|
||||
expect(button).to.have.class('tool_button_current');
|
||||
|
|
Loading…
Reference in New Issue