update to latest test utils #400
GitHub Actions / Lit Tests
failed
Mar 24, 2024 in 0s
12 passed, 2 failed and 0 skipped
❌ /home/runner/work/cypress-test-utils-examples/cypress-test-utils-examples/examples/lit/pokemon-catalog/cypress/results/json/merged.json
14 tests were completed in 22s with 12 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
cypress/integration/pokemon-page.spec.cy.ts | 2❌ | 9s | ||
src/components/pokemon-catalog/pokemon-catalog.component.spec.cy.ts | 9✔️ | 478ms | ||
src/components/pokemon-image/pokemon-image.component.spec.cy.ts | 3✔️ | 168ms |
❌ cypress/integration/pokemon-page.spec.cy.ts
Pokemon Page integration Tests given a single pokemon
❌ should disable next button once showing last pokemon
AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-hook="next"]`, but never found it.
❌ should disable prev button once showing first pokemon
AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-hook="prev"]`, but never found it.
✔️ 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
Annotations
github-actions / Lit Tests
cypress/integration/pokemon-page.spec.cy.ts ► Pokemon Page integration Tests given a single pokemon ► should disable next button once showing last pokemon
Failed test found in:
/home/runner/work/cypress-test-utils-examples/cypress-test-utils-examples/examples/lit/pokemon-catalog/cypress/results/json/merged.json
Error:
AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-hook="next"]`, but never found it.
Raw output
AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-hook="next"]`, but never found it.
at Assertable.shouldBeDisabled (webpack://pockemon-catalog/./node_modules/@shellygo/cypress-test-utils/dist/index.js:210:0)
at Context.eval (webpack://pockemon-catalog/./cypress/integration/pokemon-page.spec.cy.ts:25:37)
github-actions / Lit Tests
cypress/integration/pokemon-page.spec.cy.ts ► Pokemon Page integration Tests given a single pokemon ► should disable prev button once showing first pokemon
Failed test found in:
/home/runner/work/cypress-test-utils-examples/cypress-test-utils-examples/examples/lit/pokemon-catalog/cypress/results/json/merged.json
Error:
AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-hook="prev"]`, but never found it.
Raw output
AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-hook="prev"]`, but never found it.
at Assertable.shouldBeDisabled (webpack://pockemon-catalog/./node_modules/@shellygo/cypress-test-utils/dist/index.js:210:0)
at Context.eval (webpack://pockemon-catalog/./cypress/integration/pokemon-page.spec.cy.ts:29:37)
Loading