リリースノート
v3.7.0
2024年7月24日変更点
- selectElementのサンプルテストを修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4233
- ws依存関係を更新。by @AutomatedTester https://github.com/nightwatchjs/nightwatch/pull/4235
- イミュータブルなチェックボックス操作のための.checkと.uncheckコマンドを追加。by @reallymello https://github.com/nightwatchjs/nightwatch/pull/4232
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.6.4...v3.7.0
v3.6.4
2024年7月9日変更点
- テストケース自体でセッションが閉じられた場合のCucumberのエラーを修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4209
- APIドキュメントのページオブジェクトのデモ例を修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4210
- APIドキュメントのW3C WebDriver仕様へのリンクを修正。by @Halim-Shams https://github.com/nightwatchjs/nightwatch/pull/4166
- 値を更新するためのAPIドキュメントの小さな変更。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4213
setPassword
コマンドのAPIドキュメントを修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4225- APIドキュメントのセレクターオブジェクトドキュメントリンクを修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4226
- pauseコマンドからDEBUGモードに入ることを許可。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4224
新しい貢献者
- @Halim-Shams さんが最初の貢献をしました。 https://github.com/nightwatchjs/nightwatch/pull/4166
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.6.3...v3.6.4
v3.6.3
2024年5月22日変更点
- selenium-webdriverを4.21.0に更新。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4207
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.6.2...v3.6.3
v3.6.2
2024年5月10日変更点
修正
- レポーターでコマンド引数が「[object Object]」と表示される問題を修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4195
- async/awaitで使用されたwaitForコマンドでテストが中断されない問題を修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4196
依存関係の更新
- ejsを3.1.10に更新。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4204
- chore: CVE-2022-3517を削除するためにmochaを10.2.0 -> 10.3.0に更新 by @athammer https://github.com/nightwatchjs/nightwatch/pull/4199
- selenium-webdriverを4.20.0に更新。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4206
新しい貢献者
- @athammer さんが最初の貢献をしました。 https://github.com/nightwatchjs/nightwatch/pull/4199
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.6.1...v3.6.2
v3.6.1
2024年4月22日変更点
機能強化
- clearコマンドのフォールバックを追加。by @FireNdIce3 https://github.com/nightwatchjs/nightwatch/pull/4035 (これにより、新しい値を送信する前にフィールドをクリアする
setValue
およびupdateValue
コマンドにも影響します。) - 新しいElement APIで要素が見つからない場合に
NoSuchElementError
を使用する。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4193
修正
debug()
がasync/awaitモードで1つのコマンドのみを実行できるようにする問題を修正。by @chikara1608 https://github.com/nightwatchjs/nightwatch/pull/4139- iOSエラーのヘルプメッセージを修正。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4189
- NoSuchElementErrorの元のエラーメッセージを保持する。by @garg3133 https://github.com/nightwatchjs/nightwatch/pull/4191
- 無効なページオブジェクト要素が処理されるようにページオブジェクトテストを更新。by @AutomatedTester https://github.com/nightwatchjs/nightwatch/pull/4187
新しいElement APIの新しいエイリアス (下位互換性のために)
.ariaRole()
を.getAriaRole()
のエイリアスとして by @Sajantoor https://github.com/nightwatchjs/nightwatch/pull/4159.text()
を.getText()
のエイリアスとして by @Ayush-Vish https://github.com/nightwatchjs/nightwatch/pull/4180.prop()
を.getProperty()
のエイリアスとして by @Ayush-Vish https://github.com/nightwatchjs/nightwatch/pull/4174.accessibleName()
を.getAccessibleName()
のエイリアスとして by @Ayush-Vish https://github.com/nightwatchjs/nightwatch/pull/4178.tagname()
を.getTagName()
のエイリアスとして by @Ayush-Vish https://github.com/nightwatchjs/nightwatch/pull/4176.css()
と.getCssValue()
を.getCssProperty()
のエイリアスとして by @Ayush-Vish https://github.com/nightwatchjs/nightwatch/pull/4168.attr()
と.attribute()
を.getAttribute()
のエイリアスとして by @Ayush-Vish https://github.com/nightwatchjs/nightwatch/pull/4172- 新しいElement APIの
.find()
と.findAll()
コマンドにエイリアスを追加。by @AritraLeo https://github.com/nightwatchjs/nightwatch/pull/4130
新しい貢献者
- @Sajantoor さんが最初の貢献をしました。 https://github.com/nightwatchjs/nightwatch/pull/4159
- @Ayush-Vish さんが最初の貢献をしました。 https://github.com/nightwatchjs/nightwatch/pull/4180
- @AritraLeo さんが最初の貢献をしました。 https://github.com/nightwatchjs/nightwatch/pull/4130
- @FireNdIce3 さんが最初の貢献をしました。 https://github.com/nightwatchjs/nightwatch/pull/4035
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.6.0...v3.6.1
v3.6.0
2024年4月4日変更点
rect()
をgetRect()
コマンドのエイリアスとして追加。by @dikwickley https://github.com/nightwatchjs/nightwatch/pull/4128waitUntil
がasync/awaitで動作しない問題を修正。by @chikara1608 https://github.com/nightwatchjs/nightwatch/pull/4123- waitUntilがエラーをスローしたときにテストが中断されるバグを修正。#4157 by @chikara1608 https://github.com/nightwatchjs/nightwatch/pull/4161
新しい貢献者
- @chikara1608 さんが最初の貢献をしました。 https://github.com/nightwatchjs/nightwatch/pull/4123
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.5.0...v3.6.0
v3.5.0
2024年3月15日変更点
- フックの
TimeoutError
に対する実用的なエラーメッセージを追加。by @dikwickley https://github.com/nightwatchjs/nightwatch/pull/4053 - 新しいElement APIに欠落していた
isSelected
コマンドを追加。by @dikwickley https://github.com/nightwatchjs/nightwatch/pull/4038 - 新しいElement APIに欠落していた
isEnabled
コマンドを追加。by @subhajit20 https://github.com/nightwatchjs/nightwatch/pull/4041 - README内のコマンドをリファクタリング。by @konavivekramakrishna in https://github.com/nightwatchjs/nightwatch/pull/4076
- 生のHTTPログからパスワード値を隠蔽。by @dikwickley in https://github.com/nightwatchjs/nightwatch/pull/4066
- getTextコマンドのJSDocの例を修正。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/4043
- 新しいElement APIに欠けていた
isVisible
コマンドを追加。by @subhajit20 in https://github.com/nightwatchjs/nightwatch/pull/4039 isDisplayed()
をisVisible()
のエイリアスとして追加。by @uditrajput03 in https://github.com/nightwatchjs/nightwatch/pull/4107takeScreenshot
の例を修正。by @dikwickley in https://github.com/nightwatchjs/nightwatch/pull/4121- Cucumberで並列環境を許可。by @AutomatedTester in https://github.com/nightwatchjs/nightwatch/pull/4095
新しい貢献者
- @dikwickley が初の貢献をしました。 in https://github.com/nightwatchjs/nightwatch/pull/4053
- @subhajit20 が初の貢献をしました。 in https://github.com/nightwatchjs/nightwatch/pull/4041
- @konavivekramakrishna が初の貢献をしました。 in https://github.com/nightwatchjs/nightwatch/pull/4076
- @uditrajput03 が初の貢献をしました。 in https://github.com/nightwatchjs/nightwatch/pull/4107
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.4.1...v3.5.0
v3.4.1
2024年2月16日変更点
- 単一のテストスイート内で2つの
describe()
がある場合に警告。by @garg3133 in #4011 - Ctrl+Cを使用してNightwatchを終了する際のエラーを修正。by @garg3133 in #4013
- deps:
piscina
の依存関係をv4.3.1
に更新。by @garg3133 in #4020 - セッション作成時にcapabilities付きで
POST_SESSION_EVENT
を送信。by @garg3133 in #4024 - Appiumのresetコマンドを追加。by @AutomatedTester in #4019
- CucumberでHTMLレポーターを無効化。by @garg3133 in #4025
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.4.0...v3.4.1
v3.4.0
2024年1月29日変更点
修正と改善
- 修正 #3998 – Browserstackを使用している場合、リトライされたテストに対してカスタムセッションステータスを設定できない問題を、Priyansh Garg が #3999 で修正
- 修正 #3990 – Seleniumを使用している場合、セッション間でCDP接続がリセットされない問題を、Priyansh Garg が #3994 で修正
- 修正 #3989 – ShadowRootを参照して要素を取得できない問題を、Priyansh Garg が #3992 で修正
- 修正 #4003 – メソッドごとのパッケージをメインの
lodash
パッケージに置き換える問題を、Priyansh Garg が #4005 で修正 - 修正 #4007 – ワーカー スレッドに
parallel_process_delay
を追加する問題を、@gravityvi が #4007 で修正 - 修正 テストフックが
NightwatchBrowser
でTypeScriptエラーを出す問題を、Priyansh Garg が #4004 で修正 - 追加
waitFor
コマンドの拡張型を、Priyansh Garg が #3986 で追加
依存関係の更新
- アップグレード Seleniumを4.16にアップグレード。by David Burns in #4008。このアップグレードにより、安定性の向上、新機能、バグ修正がもたらされ、Nightwatchの全体的なテスト機能が強化されます。
- 更新 アクセシビリティテスト機能を強化するために、
nightwatch-axe-verbose
の依存関係を更新。axe-coreの統合改善と高度な構成のサポートが含まれます。by Priyansh Garg in #3993
完全な変更履歴
v3.3.8
2024年1月10日変更点
- Nightwatchの設定/構成ファイルの型を修正。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3876
- 依存関係を更新。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3985
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.3.7...v3.3.8
v3.3.7
2023年12月29日- 追加 – カスタムコマンドのカスタムリターン関数の定義をサポート fe9a01
v3.3.5
2023年12月14日変更点
- 修正 Node v20+でのテスト実行後、プロセスが4分間停止する問題を修正。by @garg3133 in #3976
- 修正 #3639 古い要素でwaitForコマンドがリトライされない問題を修正。by @garg3133 in #3978
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.3.4...v3.3.5
v3.3.4
2023年12月11日変更点
v3.3.3
2023年12月7日変更点
- browserstackのturboscale URLのチェックを追加。by @nikhlagrwl in https://github.com/nightwatchjs/nightwatch/pull/3970
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.3.2...v3.3.3
v2.6.23
2023年12月7日変更点
- browserstackのturboscale URLのサポートを追加。by @nikhlagrwl in https://github.com/nightwatchjs/nightwatch/pull/3969
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v2.6.22...v2.6.23
v3.3.2
2023年11月16日変更点
- 任意のSeleniumホストで並列処理を有効化。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3956
- プラグインを介してカスタムレポーターを定義するためのサポートを改善
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.3.1...v3.3.2
v3.3.0
2023年11月7日変更点
修正
- waitForElementVisible.jsのabortOnFailureの説明を更新。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3934
- ワーカー スレッドの数の上限を削除。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3930
- postInstallステップを削除。by @AutomatedTester in https://github.com/nightwatchjs/nightwatch/pull/3953
- クラウドサービスを使用する際に、モバイルでワーカー スレッドを有効化。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3954
依存関係
- Seleniumを4.14に更新。by @AutomatedTester in https://github.com/nightwatchjs/nightwatch/pull/3944
- chore: 依存関係を更新。by @AutomatedTester in https://github.com/nightwatchjs/nightwatch/pull/3943
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.2.1...v3.3.0
v3.2.1
2023年10月5日変更点
- CVE 2023 43646 by @AutomatedTester in https://github.com/nightwatchjs/nightwatch/pull/3925
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.2.0...v3.2.1
v3.2.0
2023年9月27日変更点
新機能
- wait until presentコマンドを追加。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3897
- nightwatchフックのイベント設定。by @harshit-bs in https://github.com/nightwatchjs/nightwatch/pull/3706
修正
- トレースに正しい設定パラメータを使用。by @swrdfish in https://github.com/nightwatchjs/nightwatch/pull/3890
- 型宣言で
WebElement
を可能なセレクターとして許可。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3896 - 子プロセスワーカーでmochaを実行。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3904
- サポートする色のリストにGitHub Actionsを追加。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3914
- mocha cliランナーテストからcolorパラメータを削除。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3919
- desired capabilitiesから常にマッチすることを考慮。by @gravityvi in https://github.com/nightwatchjs/nightwatch/pull/3907 (#3431)
- プログラムAPIから呼び出されたときに、グローバルフックにsettingsオブジェクトを渡す。by @swrdfish in https://github.com/nightwatchjs/nightwatch/pull/3850 (#3849)
依存関係の更新
- selenium 4.13にバンプ。by @AutomatedTester in https://github.com/nightwatchjs/nightwatch/pull/3920
TypeScriptの改善
- utilsモジュールをTSに移行。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3869
- TSに移行する前にutilsモジュールをリファクタリング。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3870
- lib/httpファイルをTSに移行。by @yashPratp983 in https://github.com/nightwatchjs/nightwatch/pull/3886
ビルドの改善
- eslintルールを修正。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3891
- 実行コマンドのファイル名を変更。by @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3898
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v3.1.3...v3.2.0
v2.6.22
2023年9月27日変更点
- v2のライフサイクルイベントフックサポート。by @harshit-bs in https://github.com/nightwatchjs/nightwatch/pull/3817
完全な変更履歴: https://github.com/nightwatchjs/nightwatch/compare/v2.6.21...v2.6.22