code-corps / code-corps/code-corps-ember

Rewrite integration test for forgot-password-test component

未關閉 適合新手
#1,616 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
120
分支
75
PR 合併指標
30 天內沒有已合併 PR

描述

# Problem

Currently, `tests/integration/components/password/forgot-password-test.js` doesn't make full use of its page object by not defining a renderPage() function. To dry up the code, you can set a renderPage() function above the moduleForComponent, pass in the needed hbs selectors, and call renderPage() in each test.

References
#1605

貢獻指南

開啟貢獻指南

研究方向

從 tests/integration/components/password/forgot-password-test.js 開始,檢查其 page object 目前的使用方式。在 moduleForComponent 上方使用所需的 hbs 選擇器定義 renderPage(),然後在每個測試中呼叫它。當整合測試仍然通過且重複的設定已移除時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
testing
Issue 類型
重構
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
68/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。