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

Rewrite integration tests for reset-password-test component

Aberta
#1,617 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
120
Forks
75
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

# Problem

Currently, `tests/integration/components/password/reset-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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Open tests/integration/components/password/reset-password-test.js and inspect how each test currently renders the component. Define renderPage() above moduleForComponent with the needed hbs selectors, then use it in each test to remove duplicated setup. Done means the integration tests still pass with the page object handling rendering.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
testing-qa
Tipo de issue
Refatoração
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.