Skip to content

CPQ Plugin strict mode violation #741

@SalikLP

Description

@SalikLP

When I try to use the CPQ Plugin to set settings I get the following error:

Checking for 'Generate Integration User Permissions' button
The button 'Generate Integration User Permissions' is not found. It might be already clicked before.
Updating: 'additionalSettings.triggersDisabled' (Triggers Disabled) with component 'input[name="page:form:pb:j_id274:j_id275"]' with value: 'true'
'Authorize New Calculation Service' link
 »   Warning: Error clicking Authorize New Calculation Service' button with message: locator.click: Error: strict mode violation: locator('input[name="save"]') resolved to 2 elements:
 »       1) <input name="save" title="Allow" type="submit" value=" Allow " class="button primary fiftyfifty right"/> aka getByRole('button', { name: 'Allow' })
 »       2) <input id="oadeny" name="save" title="Deny" type="submit" value=" Deny " class="button secondary fiftyfifty mb16"/> aka getByRole('button', { name: 'Deny' })
 »
 »   Call log:
 »     - waiting for locator('input[name="save"]')
 »
[SalesforceCpqConfig] changing 'additionalSettings' to '{"triggersDisabled":true}'... failed
Error (1): locator.click: Error: strict mode violation: locator('input[name="save"]') resolved to 2 elements:
    1) <input name="save" title="Allow" type="submit" value=" Allow " class="button primary fiftyfifty right"/> aka getByRole('button', { name: 'Allow' })
    2) <input id="oadeny" name="save" title="Deny" type="submit" value=" Deny " class="button secondary fiftyfifty mb16"/> aka getByRole('button', { name: 'Deny' })

Call log:
  - waiting for locator('input[name="save"]')


logging out... done

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions