From 766f2bb199a6f9746ffa41c75d62b591adc7796d Mon Sep 17 00:00:00 2001 From: ShellyDCMS Date: Wed, 30 Oct 2024 16:58:24 +0200 Subject: [PATCH] update angular version --- package.json | 8 ++++---- src/assertable.ts | 2 +- yarn.lock | 24 ++++++++++++------------ 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index b4923b2..a51bf92 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@shellygo/cypress-test-utils", "description": "Cypress Test Automation Utilities", - "version": "3.1.6", + "version": "4.1.1", "author": "Shelly Goldblit", "private": false, "license": "MIT", @@ -34,9 +34,9 @@ "cypress": ">=12.17.3" }, "dependencies": { - "@angular/common": "17.3.12", - "@angular/core": "17.3.12", - "@angular/compiler": "17.3.12", + "@angular/common": "~18.0.0", + "@angular/core": "~18.0.0", + "@angular/compiler": "~18.0.0", "@cypress/mount-utils": "^4.1.1", "@lit/react": "^1.0.5", "@open-wc/lit-helpers": "^0.7.0", diff --git a/src/assertable.ts b/src/assertable.ts index df91c5c..af53815 100644 --- a/src/assertable.ts +++ b/src/assertable.ts @@ -327,7 +327,7 @@ export class Assertable { * This enabled you to see violations while allowing your tests to pass. This should be used as a temporary measure while you address accessibility violations * @example * ```ts - * then(get.elementByTestId("selector")).shouldBeAccessible() + * then(get.element("html")).shouldBeAccessible() * ``` * @example * ```ts diff --git a/yarn.lock b/yarn.lock index e53741a..472d2c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,24 +2,24 @@ # yarn lockfile v1 -"@angular/common@17.3.12": - version "17.3.12" - resolved "https://registry.npmjs.org/@angular/common/-/common-17.3.12.tgz" - integrity sha512-vabJzvrx76XXFrm1RJZ6o/CyG32piTB/1sfFfKHdlH1QrmArb8It4gyk9oEjZ1IkAD0HvBWlfWmn+T6Vx3pdUw== +"@angular/common@~18.0.0": + version "18.0.7" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-18.0.7.tgz#0e9f32ba69ea73675e1765f393acaabb7e0a3949" + integrity sha512-jT6Md/igkhSBKYrSouk/BkEFXDXW7BeiXiJ/B2/8/t0BRLqLghn1Y5w9lJz5dEGWt759PiFAgzMT0ePeeynxPA== dependencies: tslib "^2.3.0" -"@angular/compiler@17.3.12": - version "17.3.12" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-17.3.12.tgz#c7f855deb67f05023d53358f6dcc8803c1c90efa" - integrity sha512-vwI8oOL/gM+wPnptOVeBbMfZYwzRxQsovojZf+Zol9szl0k3SZ3FycWlxxXZGFu3VIEfrP6pXplTmyODS/Lt1w== +"@angular/compiler@~18.0.0": + version "18.0.7" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-18.0.7.tgz#aea197e2bc01e49c0d5b6722fecc6d8de96414f5" + integrity sha512-NTNF3wEkkn4C952Y251yhfewmxSH1fvSfERpDPITVzVwUBMSJbBcOSjY8kWBc+BTNST1OJYVKiOgLhJiycIeAQ== dependencies: tslib "^2.3.0" -"@angular/core@17.3.12": - version "17.3.12" - resolved "https://registry.npmjs.org/@angular/core/-/core-17.3.12.tgz" - integrity sha512-MuFt5yKi161JmauUta4Dh0m8ofwoq6Ino+KoOtkYMBGsSx+A7dSm+DUxxNwdj7+DNyg3LjVGCFgBFnq4g8z06A== +"@angular/core@~18.0.0": + version "18.0.7" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-18.0.7.tgz#7ab7d2d1bbe67479ce388fd4523e5683319eed1b" + integrity sha512-sAxr4yDg9aAAgudTrxV3gv+bKaaWmq+FaMOAmR46yxk3b40fNZQEAAzdIWYjL9Kw/A1U9nSLqK2sE7IC3gVnHQ== dependencies: tslib "^2.3.0"