Skip to content

Commit

Permalink
chore(pie-cookie-banner): DSW-1754 updated PO method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaNg2332 committed Mar 25, 2024
1 parent 8254eb2 commit c083fd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class PieCookieBannerComponent extends BasePage {
*/
async isPreferenceToggleDisabled (preferenceIds: PreferenceIds) : Promise<boolean> {
const preferenceToggle = this.page.locator(getPreferenceItemSelector(preferenceIds));
return preferenceToggle.isChecked();
return preferenceToggle.isDisabled();
}

/**
Expand Down

0 comments on commit c083fd7

Please sign in to comment.