Skip to content
Snippets Groups Projects
Commit a966e40d authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix

parent d395064f
No related branches found
No related tags found
No related merge requests found
...@@ -257,7 +257,7 @@ class WdIavPage extends WdLayoutPage{ ...@@ -257,7 +257,7 @@ class WdIavPage extends WdLayoutPage{
const options = await this._browser.findElements( const options = await this._browser.findElements(
By.tagName('mat-option') By.tagName('mat-option')
) )
const idx = await getIndexFromArrayOfWebElements(title, options) const idx = await _getIndexFromArrayOfWebElements(title, options)
if (idx >= 0) await options[idx].click() if (idx >= 0) await options[idx].click()
else throw new Error(`${title} is not found as one of the dropdown templates`) else throw new Error(`${title} is not found as one of the dropdown templates`)
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment