Skip to content

Commit

Permalink
bypass element overlap when typing
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
amsiglan committed Sep 10, 2024
1 parent 510f5c6 commit 8f7ea76
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 8f7ea76

Please sign in to comment.