Skip to content

Update WDIO tests for action menu-based plugin activation#1856

Merged
renemadsen merged 2 commits intomasterfrom
copilot/update-wdio-tests-action-menu
Nov 14, 2025
Merged

Update WDIO tests for action menu-based plugin activation#1856
renemadsen merged 2 commits intomasterfrom
copilot/update-wdio-tests-action-menu

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 13, 2025

The eform-angular-frontend changed plugin activation from direct toggle buttons to an action menu interface. The WDIO tests were attempting to click non-existent toggle elements, causing failures.

Changes

  • Updated plugin status verification: Tests now open the action menu (#actionMenu) to access the status button, read the mat-icon text for status, and close the menu with Escape
  • Updated plugin activation flow: Tests open the menu, click the status button (#plugin-status-button0), confirm in the modal (#pluginOKBtn), wait for setup, then re-login to verify

Example

// Before: Direct interaction (no longer works)
const plugin = await pluginPage.getFirstPluginRowObj();
await plugin.enableOrDisablePlugin();

// After: Action menu interaction
const actionMenuBtn = await $('#action-items-0').$('#actionMenu');
await actionMenuBtn.click();
await browser.pause(500);

const statusBtn = await $('#plugin-status-button0');
await statusBtn.click();

Reference: microting/eform-angular-workflow-plugin#1167

Original prompt

This section details on the original issue you should resolve

<issue_title>Update WDIO tests for action menu-based plugin activation</issue_title>
<issue_description>Use microting/eform-angular-workflow-plugin#1167 as reference to what needs to be done</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
Copilot AI changed the title [WIP] Update WDIO tests for action menu-based plugin activation Update WDIO tests for action menu-based plugin activation Nov 13, 2025
Copilot AI requested a review from renemadsen November 13, 2025 19:19
@renemadsen renemadsen marked this pull request as ready for review November 14, 2025 05:07
@renemadsen renemadsen merged commit d18bff9 into master Nov 14, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update WDIO tests for action menu-based plugin activation

3 participants