Skip to content
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

Auto-complete scenario should be more realistic #137

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

quantranhong1999
Copy link
Member

Auto-complete requests were sent rapidly before which is too much in reality.

@quantranhong1999 quantranhong1999 force-pushed the make-auto-complete-scenario-more-realistic branch from 356bd7b to 463deab Compare April 28, 2022 08:51
70.0 -> exec((session: Session) => session.set(typeaheadKeyword, randomSubString(session.attributes(recipientSessionParam).asInstanceOf[String]))),
30.0 -> exec((session: Session) => session.set(typeaheadKeyword, Random.alphanumeric.take(5).mkString(""))))
.exec(JmapTmailContact.getAutocomplete(typeaheadKeyword = typeaheadKeyword).check(statusOk, noError))
.pause(2 seconds)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I even personally think 2seconds is still too heavy... I would put it a bit higher like 5.

What people think on this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me I am Ok with 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants