Skip to content

Commit

Permalink
fix helper function to add field in CP
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo committed Apr 29, 2024
1 parent 2a102a8 commit 8fcf14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/client/playwright/page-object-models/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Settings {
await this.page
.locator(s('content-profile-editing-modal'))
.getByRole('button', {name: 'Add new field'}).first().click();
await this.page.locator(s('menu')).getByRole('menuitem', {name: field}).click();
await this.page.locator(s('tree-menu-popover')).getByRole('button', {name: field}).click();

await this.page.locator(s('item-view-edit', 'gform-input--sdWidth')).selectOption('full');
await this.page.locator(s('item-view-edit')).getByRole('button', {name: 'apply'}).click();
Expand Down

0 comments on commit 8fcf14e

Please sign in to comment.