Deprecation: Native dom helpers should not be used as globals in tests anymore
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- frontend, testing-qa
調査の方向性
まずテストファイルとパッケージ設定を確認し、次にテスト内でグローバルな find、click、fillIn、visit および関連するヘルパーを検索します。同名の ember-cli-page-object 関数とネイティブ DOM ヘルパーを区別し、依存関係として ember-native-dom-helpers を追加し、影響を受けるすべてのモジュールでネイティブヘルパーを import します。残っているネイティブヘルパーの使用が globals に依存しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
Using native dom helpers as globals is now deprecated in our tests. Instead, we should add a new dependency to our app and import these helpers from it in any tests that need it.
We are leaning away from these anyway, due to relying on ember-cli-page-object, but there are still a couple of places where we do use them.
Subtasks
- Install depdencency https://github.com/cibernox/ember-native-dom-helpers
- Search through our tests for usage of the
find,click,fillIn,visitand other global functions in this group. Careful not to mistake them for the identically named functions provided byember-cli-page-object. The culprits we need to fixed are likely used as globals, in tests, directly. - In any module that uses them, import them using
import { visit, click, find, fillIn } from 'ember-native-dom-helpers';
- 主要言語
- JavaScript
- スター
- 120
- フォーク
- 75
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
code-corps/code-corps-ember のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
code-corps/code-corps-ember#1616 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
code-corps/code-corps-ember#1613 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
code-corps/code-corps-ember#1612 ·
-
Difficulty: Medium Skill: ember-cli-page-object
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
code-corps/code-corps-ember#1063 · リアクション 1 件 ·
-
greenkeeper
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
code-corps/code-corps-ember#1765 · コメント 1 件 ·
code-corps/code-corps-ember の issue をすべて見る
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100