Verification of value in <select> with "I.seeInField" fails with WebDriver
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- testing
調査の方向性
I.seeInField の実装とその WebDriver パスから始め、提供された snippet とバージョンを使って報告された select の例を再現します。WebDriver の動作を Playwright と比較し、無効な option selector エラーなしで選択された「Hamster」の値を検証できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I want to report a defect.
The defect is about I.seeInField. When I want to use it to verify a <select> field has the expected value, it fails with WebDriver, but passes with Playwright. Not sure when it started. It was today the first time I wanted to use I.seeInField. Thatswhy I am not sure since when this defect exists.
Steps to reproduce:
I.amOnPage('https://interactive-examples.mdn.mozilla.net/pages/tabbed/select.html');
I.switchTo('#output-iframe');
I.selectOption('#pet-select', 'Hamster');
I.seeInField('#pet-select', 'Hamster'); // ✅Passes with Playwright. ❌Fails with WebDriver with error 'The selector "option" used with strategy "css" is invalid!'
Version used:
- CodeceptJS 3.6.5
- WebDriver.IO: 8.40.6
- 主要言語
- JavaScript
- スター
- 4.2k
- フォーク
- 756
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 16
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codeceptjs/CodeceptJS のほかの issue
-
stale
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
codeceptjs/CodeceptJS#5420 · コメント 1 件 ·
-
stale
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
codeceptjs/CodeceptJS#5358 · コメント 1 件 ·
-
stale
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codeceptjs/CodeceptJS#4958 · コメント 10 件 · リアクション 2 件 ·
-
stale
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
codeceptjs/CodeceptJS#4778 · コメント 3 件 ·
-
stale
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
codeceptjs/CodeceptJS#5618 · コメント 1 件 ·