Skip to content

Commit

Permalink
Fix selection also on linux and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
michelu89 committed Oct 30, 2024
1 parent 4cffaeb commit f539ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/apps/ame-e2e/src/support/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export class cyHelp {

if (selectMultipleShapes) {
if (Cypress.platform !== 'darwin') {
cy.get('body').type('{ctrl}', {release: false});
cy.get('body').type('{ctrl}', {release: false, force: true});
} else {
cy.get('body').type('{meta}', {release: false, force: true});
}
Expand All @@ -307,7 +307,7 @@ export class cyHelp {
.getHTMLCell(name)
.first()
.click({force: true})
.then(() => cy.get('body').type('{ctrl}'));
.then(() => cy.get('body').type('{ctrl}', {force: true}));
} else {
return cy
.getHTMLCell(name)
Expand Down

0 comments on commit f539ebd

Please sign in to comment.