Skip to content

Bump cypress-commands from 1.1.0 to 2.0.1 in /research-hub-web#171

Merged
rosemcc merged 3 commits into
masterfrom
dependabot/npm_and_yarn/research-hub-web/cypress-commands-2.0.1
Nov 10, 2021
Merged

Bump cypress-commands from 1.1.0 to 2.0.1 in /research-hub-web#171
rosemcc merged 3 commits into
masterfrom
dependabot/npm_and_yarn/research-hub-web/cypress-commands-2.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 8, 2021

Bumps cypress-commands from 1.1.0 to 2.0.1.

Release notes

Sourced from cypress-commands's releases.

Cypress commands 2.0.1

Fixes

  • Type definition for .attribute() no longer requires you to pass an options object.

Cypress commands 2.0.0

Breaking changes

Whitespace handling for zero-width whitespace in .text() and .attribute()

Whitespace handling in .text() and .attribute() has been changed to no longer consider zero-width whitespace to be whitespace in modes {whitespace: 'simplify'} and {whitespace: 'keep-newline'}. Mode {whitespace: 'keep'} has not changed.

<div>super\u200Bcalifragilistic\u200Bexpialidocious</div>
// Old situation
cy.get('div').text().should('equal', 'super califragilistic expialidocious');
// New situation
cy.get('div').text().should('equal', 'supercalifragilisticexpialidocious');

When using .text() on elements containing the <wbr> tag: <wbr> is now considered a zero-width space and will thus be removed with whitespace simplify and keep-newline as described above.

<div>super<wbr>califragilistic<wbr>expialidocious</div>
// Old situation
cy.get('div').text().should('equal', 'super califragilistic expialidocious');
// New situation
cy.get('div').text().should('equal', 'supercalifragilisticexpialidocious');

Output order of .text()

When using .text({ depth: Number }) the order of texts has been changed to better reflect what the

... (truncated)

Changelog

Sourced from cypress-commands's changelog.

2.0.1 - 2021-10-08

Fixes

  • Type definition for .attribute() no longer requires you to pass an options object.

2.0.0 - 2021-09-13

Breaking changes

Whitespace handling for zero-width whitespace in .text() and .attribute()

Whitespace handling in .text() and .attribute() has been changed to no longer consider zero-width whitespace to be whitespace in modes {whitespace: 'simplify'} and {whitespace: 'keep-newline'}. Mode {whitespace: 'keep'} has not changed.

<div>super\u200Bcalifragilistic\u200Bexpialidocious</div>
// Old situation
cy.get('div').text().should('equal', 'super califragilistic expialidocious');
// New situation
cy.get('div').text().should('equal', 'supercalifragilisticexpialidocious');

When using .text() on elements containing the <wbr> tag: <wbr> is now considered a zero-width space and will thus be removed with whitespace simplify and keep-newline as described above.

<div>super<wbr>califragilistic<wbr>expialidocious</div>
// Old situation
cy.get('div').text().should('equal', 'super califragilistic expialidocious');
// New situation
cy.get('div').text().should('equal', 'supercalifragilisticexpialidocious');

Output order of .text()

... (truncated)

Commits
  • e35d4f7 Merge pull request #63 from Lakitna/type-fix-for-attribute
  • dd904e8 Release 2.0.1
  • f4b073d .attribute() type no longer requires options attribute
  • 026fce9 Merge pull request #62 from Lakitna/tests-for-then-passing-down-context
  • 2ef5148 Added tests for .then() passing down context to the callback
  • c1d0cf9 Merge pull request #61 from Lakitna/attribute-command-retry-fix
  • c8690a4 Added changelog for v2.0.0
  • 7523a2c Fixed bug in .attribute(), refactored command in the process
  • 2cd10c0 Greatly improved types for .to()
  • 3e503fb Small doc changes
  • Additional commits viewable in compare view

Dependabot compatibility score

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cypress-commands](https://github.com/Lakitna/cypress-commands) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/Lakitna/cypress-commands/releases)
- [Changelog](https://github.com/Lakitna/cypress-commands/blob/develop/CHANGELOG.md)
- [Commits](Lakitna/cypress-commands@1.1.0...2.0.1)

---
updated-dependencies:
- dependency-name: cypress-commands
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 8, 2021
@dependabot dependabot Bot requested review from Trombach and rosemcc November 8, 2021 07:01
@rosemcc rosemcc merged commit f396a7f into master Nov 10, 2021
@rosemcc rosemcc deleted the dependabot/npm_and_yarn/research-hub-web/cypress-commands-2.0.1 branch November 10, 2021 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant