Whether the step is optional.
()
| 89 | |
| 90 | /** Whether the step is optional. */ |
| 91 | async isOptional(): Promise<boolean> { |
| 92 | // If the node with the optional text is present, it means that the step is optional. |
| 93 | const optionalNode = await this.locatorForOptional('.mat-step-optional')(); |
| 94 | return !!optionalNode; |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Selects the given step by clicking on the label. The step may not be selected |
no test coverage detected