Skip to content

Commit 653d948

Browse files
committed
Moving the action menu click further up the calls, so we do it before trying to find menu elements.
1 parent 70c7611 commit 653d948

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eform-client/e2e/Page objects/Plugin.page.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,13 @@ class PluginRowObject {
7070

7171
public async getRow(rowNum: number): Promise<PluginRowObject> {
7272
this.rowNumber= rowNum -1;
73-
73+
await this.clickActionsMenu();
7474
this.id = +await ($('#plugin-id'+this.rowNumber)).getText();
7575
this.name = await (await $('#plugin-name'+this.rowNumber)).getText();
7676
this.version = await (await $('#plugin-version'+this.rowNumber)).getText();
7777
this.settingsBtn = await $('#plugin-settings-link'+this.rowNumber);
7878
this.statusBtn = await $('#plugin-status-button'+this.rowNumber);
7979
// To get status, we need to open the menu first since the button is inside mat-menu
80-
await this.clickActionsMenu();
8180
const statusIcon = await this.statusBtn.$('mat-icon');
8281
this.status = await statusIcon.getText();
8382
// Close the menu by clicking elsewhere or pressing escape

0 commit comments

Comments
 (0)