New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal: Make AI promotions less intrusive [ED-14582] #27283
Internal: Make AI promotions less intrusive [ED-14582] #27283
Conversation
@@ -146,7 +146,7 @@ export default class AiBehavior extends Marionette.Behavior { | |||
return; | |||
} | |||
|
|||
if ( ! shouldShowPromotionIntroduction() ) { | |||
if ( ! shouldShowPromotionIntroduction( sessionStorage ) ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where this sessionStorage
is coming from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
window global context
} ); | ||
|
||
it( `Should return false when previous promotion appeared less than ${ HOURS_BETWEEN_PROMOTION_INTRODUCTIONS } hours ago`, async () => { | ||
const currentDate = new Date( 2024, 5, 3, 15 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test will not work after Jun, 03 2024
7972502
to
9cca5a6
Compare
871c317
to
89c17bd
Compare
No description provided.