Skip to content

Commit

Permalink
bypass element overlap when typing (#1558)
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit bceec36)
  • Loading branch information
amsiglan authored and github-actions[bot] committed Sep 10, 2024
1 parent 625926c commit 4f74a81
Showing 1 changed file with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,24 +494,30 @@ describe('Rules', () => {

// selection name field
getSelectionPanelByIndex(0).within(() =>
getSelectionNameField().type('{selectall}').type('{backspace}')
getSelectionNameField()
.type('{selectall}', { force: true })
.type('{backspace}', { force: true })
);
toastShouldExist();
getSelectionPanelByIndex(0).within(() =>
getSelectionNameField().type('Selection_1')
getSelectionNameField().type('Selection_1', { force: true })
);

// selection map key field
getSelectionPanelByIndex(0).within(() =>
getMapKeyField().type('{selectall}').type('{backspace}')
getMapKeyField()
.type('{selectall}', { force: true })
.type('{backspace}', { force: true })
);
getSelectionPanelByIndex(0).within(() =>
getMapKeyField().type('FieldKey')
getMapKeyField().type('FieldKey', { force: true })
);

// selection map value field
getSelectionPanelByIndex(0).within(() =>
getMapValueField().type('{selectall}').type('{backspace}')
getMapValueField()
.type('{selectall}', { force: true })
.type('{backspace}', { force: true })
);
toastShouldExist();

Expand Down

0 comments on commit 4f74a81

Please sign in to comment.