(messageId: string, id: string, options?: { readonly option?: string | undefined })
| 1451 | } |
| 1452 | |
| 1453 | click(messageId: string, id: string, options?: { readonly option?: string | undefined }) { |
| 1454 | return Effect.flatMap( |
| 1455 | this.clickExit(messageId, id, options), |
| 1456 | (exit) => |
| 1457 | Exit.isSuccess(exit) ? Effect.void : Effect.fail(failure( |
| 1458 | this.rule, |
| 1459 | "a click on element " + id + " of message " + messageId, |
| 1460 | describeExit(exit), |
| 1461 | Option.getOrUndefined(Exit.findErrorOption(exit)) |
| 1462 | )) |
| 1463 | ) |
| 1464 | } |
| 1465 | |
| 1466 | /** Sends a command through the hook, with the suite's recording handler. */ |
| 1467 | command(id: string, options?: { readonly text?: string | undefined }) { |
no test coverage detected