-
Notifications
You must be signed in to change notification settings - Fork 238
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
Bump marked from 15.0.3 to 15.0.4 in the metalsmith group #4376
Bump marked from 15.0.3 to 15.0.4 in the metalsmith group #4376
Conversation
✅ You can preview this change here:
To edit notification comments on pull requests, go to your Netlify site configuration. |
0804510
to
5a8598f
Compare
Bumps the metalsmith group with 1 update: [marked](https://github.com/markedjs/marked). Updates `marked` from 15.0.3 to 15.0.4 - [Release notes](https://github.com/markedjs/marked/releases) - [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json) - [Commits](markedjs/marked@v15.0.3...v15.0.4) --- updated-dependencies: - dependency-name: marked dependency-type: direct:development update-type: version-update:semver-patch dependency-group: metalsmith ... Signed-off-by: dependabot[bot] <support@github.com>
5a8598f
to
b0aeaa2
Compare
Flakiness in the search tests is caused by some kind of timing/race condition with the .type() method not completing before we assert our expectations. Adding a delay to the text input seems to make it less flaky, but I've moved into a separate function to make it easier to iterate fixes if further flakiness occurs. I've tried sending characters individually, setting focus on each character, and using page.waitForFunction, but this seems to be the least flaky fix.
Note: in case of future flakiness. I've attempted what I would assume was the "correct" way to handle this: async function typeText($element, text, page) {
await $element.focus()
await $element.type(text)
await page.waitForFunction(
(input, typedText) => input.value === typedText,
{},
$element,
text
)
} and it's still flaky. Investigating one or two other things, but it might be worth merging this just to get this fix in. |
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.
Would be great to have a more sturdy option than a timeout to fix the flakiness, but given the complexity, let's use the delay and create a separate task to investigate why there's some timing issue between the typing and us reading stuff on the page.
Thanks for the fix and the thorough look into this @domoscargin 🙌🏻 ⛵
Bumps the metalsmith group with 1 update: marked.
Updates
marked
from 15.0.3 to 15.0.4Release notes
Sourced from marked's releases.
Commits
dba1327
chore(release): 15.0.4 [skip ci]e4198ed
fix: fix list with no items looping forever (#3560)10020d0
chore(deps-dev): Bump eslint from 9.14.0 to 9.16.0 (#3556)f9948c1
chore(deps-dev): Bump@markedjs/eslint-config
from 1.0.8 to 1.0.9 (#3555)9f247c2
chore(deps-dev): Bump@arethetypeswrong/cli
from 0.17.0 to 0.17.1 (#3554)107ccfe
chore(deps-dev): Bump rollup from 4.27.4 to 4.28.1 (#3553)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions