You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define the issue title short and most specific to the problem.
Replace all '???' with relevant information.
Describe the bug
Trying to automate test case using monaco-page-object library v.3.1.0. It should get recommended extension list from file, and check if it installed and enabled in DevWorkspace. There can be found more then one extension by keyword, for ex. "java", so test script will filter found WebElements by publisher and return one. After it try to extend methods element.isInstaled() to check if it is true and element.manage() to check if "Enable" menu item is inactive. But inside the methods conditions for buttons ExtensionsViewItem.locators.ExtensionsViewItem.install and ExtensionsViewItem.locators.ExtensionsViewItem.manage provide checks not for the found item but for the first one.
djelinek
changed the title
[Bug] methods manage() and isInstaled() from ExtensionsViewItem checks wrong "button" WebElement if found more then one extension
[馃毇 Bug] methods manage() and isInstaled() from ExtensionsViewItem checks wrong "button" WebElement if found more then one extension
Oct 17, 2023
Describe the bug
element.isInstaled()
to check if it is true andelement.manage()
to check if "Enable" menu item is inactive. But inside the methods conditions for buttonsExtensionsViewItem.locators.ExtensionsViewItem.install
andExtensionsViewItem.locators.ExtensionsViewItem.manage
provide checks not for the found item but for the first one.Connected issues:
eclipse-che/che#22176
Test script code:
https://github.com/eclipse/che/blob/main/tests/e2e/specs/dashboard-samples/RecomendedExtentions.spec.ts
Steps to Reproduce
Actual behavior
if ((yield button.getAttribute('class')).indexOf('disabled') > -1) condition checks button for the first element;
Expected behavior
Environment information
Attachments
The text was updated successfully, but these errors were encountered: