update to latest test utils #403
GitHub Actions / React Tests
succeeded
Mar 24, 2024 in 0s
26 passed, 0 failed and 0 skipped
✔️ /home/runner/work/cypress-test-utils-examples/cypress-test-utils-examples/examples/react/pokemon-catalog/cypress/results/json/merged.json
26 tests were completed in 32s with 26 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
cypress/e2e/pokemon-page.spec.cy.ts | 12✔️ | 3s | ||
cypress/integration/pokemon-page.spec.cy.ts | 2✔️ | 558ms | ||
src/components/pokemon-catalog/pokemon-catalog.component.spec.cy.ts | 9✔️ | 657ms | ||
src/components/pokemon-image/pokemon-image.component.spec.cy.ts | 3✔️ | 214ms |
✔️ cypress/e2e/pokemon-page.spec.cy.ts
Pokemon e2e
✔️ prev button should be disabled
✔️ should render pokemon image
✔️ should render pokemon index
✔️ should render pokemon name
Pokemon e2e when clicking next twice
✔️ prev button should be enabled
✔️ should render pokemon name
✔️ should update index
✔️ should update pokemon image
Pokemon e2e when clicking next twice when clicking prev
✔️ prev button should be enabled
✔️ should render pokemon name
✔️ should update index
✔️ should update pokemon image
✔️ cypress/integration/pokemon-page.spec.cy.ts
Pokemon Page integration Tests given a single pokemon
✔️ should disable next button once showing last pokemon
✔️ should disable prev button once showing first pokemon
✔️ src/components/pokemon-catalog/pokemon-catalog.component.spec.cy.ts
PokemonCatalogComponent Tests given one of many pokemons
✔️ should render pokemon count
✔️ should render pokemon name
✔️ should show picture given pokemon provided as input
PokemonCatalogComponent Tests given one of many pokemons when clicking next
✔️ should call getPokemon with the next pokemon's url
✔️ should emit onNext
PokemonCatalogComponent Tests given single pokemon
✔️ next button should be disabled
✔️ prev button should be disabled
✔️ should render pokemon count
✔️ should show picture given pokemon provided as input
✔️ src/components/pokemon-image/pokemon-image.component.spec.cy.ts
PokemonImageComponent Tests
✔️ given image not found should show correct fallback image
✔️ given image not found should show fallback image
✔️ given valid pokemon index should show gif
Loading