diff --git a/server/src/workflow-management/classes/Generator.ts b/server/src/workflow-management/classes/Generator.ts index 5ee06273..d9e25378 100644 --- a/server/src/workflow-management/classes/Generator.ts +++ b/server/src/workflow-management/classes/Generator.ts @@ -595,7 +595,15 @@ export class WorkflowGenerator { } - + /** + * General over-shadowing handler. + * Checks for possible over-shadowed pairs and if found, + * adds the pair to the workflow in the correct way. + * @param pair The pair that could be over-shadowing. + * @param page The page to be used for checking the visibility and accessibility of the selectors. + * @private + * @returns {Promise} + */ private handleOverShadowing = async (pair: WhereWhatPair, page: Page, index: number): Promise => { const overShadowing = (await this.IsOverShadowingAction(pair, page)) .filter((p) => p.isOverShadowing);