(elementId, text)
| 176 | } |
| 177 | |
| 178 | static async checkIfElementNotToHaveText(elementId, text) { |
| 179 | await waitFor(element(by.id(elementId))) |
| 180 | .toBeVisible() |
| 181 | .withTimeout(10000); |
| 182 | |
| 183 | return expect(element(by.id(elementId))).not.toHaveText(text); |
| 184 | } |
| 185 | |
| 186 | static async checkIfExists(elementId) { |
| 187 | await waitFor(element(by.id(elementId))) |
nothing calls this directly
no outgoing calls
no test coverage detected