(id)
| 190 | * @returns {Promise<string>} |
| 191 | */ |
| 192 | export async function extractTextFromElementById(id) { |
| 193 | const attributes = await element(by.id(id)).getAttributes(); |
| 194 | return attributes.value || attributes.label; |
| 195 | } |
| 196 | |
| 197 | export const expectToBeVisible = async id => { |
| 198 | try { |
no outgoing calls
no test coverage detected