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

add missing deps #135

Merged
merged 6 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/npm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version: 18.18.2
registry-url: https://registry.npmjs.org/
- run: npx yarn install --frozen-lockfile
- run: npx yarn install --frozen-lockfile --network-timeout 1000000
- run: npm run build
- run: npm run cy:run
- name: Tests Report
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@shellygo/cypress-test-utils",
"description": "Cypress Test Automation Utilities",
"version": "2.1.44",
"version": "2.1.45",
"author": "Shelly Goldblit",
"private": false,
"license": "MIT",
Expand Down Expand Up @@ -48,6 +48,7 @@
"cypress-wait-until": "^3.0.2",
"lit": "^2.7.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-html-parser": "^2.0.2",
"react-router-dom": "^6.26.1",
"ts-stubber": "^1.0.17"
Expand Down
4 changes: 2 additions & 2 deletions src/assertable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ export class Assertable<T> {
* then(get.elementByTestId("selector")).shouldNotHaveAttribute("test")
* ```
*/
public shouldNotHaveAttribute = (attribute: string, expectedValue: string) =>
this.chainable.should("not.have.attr", attribute, expectedValue);
public shouldNotHaveAttribute = (attribute: string) =>
this.chainable.should("not.have.attr", attribute);
/**
* Assert that the first element of the selection has the given attribute, using `.prop()`.
* Optionally, assert a particular value as well. The return value is available for chaining.
Expand Down
15 changes: 15 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3617,6 +3617,14 @@ randomatic@^3.0.0:
kind-of "^6.0.0"
math-random "^1.0.1"

react-dom@^18.3.1:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.2"

react-html-parser@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/react-html-parser/-/react-html-parser-2.0.2.tgz#6dbe1ddd2cebc1b34ca15215158021db5fc5685e"
Expand Down Expand Up @@ -3904,6 +3912,13 @@ safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0:
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==

scheduler@^0.23.2:
version "0.23.2"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3"
integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
dependencies:
loose-envify "^1.1.0"

semver@^6.0.0:
version "6.3.1"
resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"
Expand Down