Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: split the homepage (index) sections in own file #611

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

feat: split the homepage (index) sections in own file

edd92b9
Select commit
Loading
Failed to load commit list.
Open

feat: split the homepage (index) sections in own file #611

feat: split the homepage (index) sections in own file
edd92b9
Select commit
Loading
Failed to load commit list.
VTEX Sites / Integration Tests failed Nov 12, 2024 in 3m 44s

Integration Tests

Integration tests Failed. Check the details bellow.

Details

Videos of the tests that failed
a11y.test.js
analytics.test.js
cart.test.js
plp.test.js
search.test.js
seo.test.js
Test State
An uncaught error was detected outside of a test
An uncaught error was detected outside of a test
An uncaught error was detected outside of a test
An uncaught error was detected outside of a test
An uncaught error was detected outside of a test
An uncaught error was detected outside of a test

[Tue Nov 12 16:30:37 UTC 2024] No secrets found for this repository


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        9.7.0                                                                          │
  │ Browser:        Electron 100 (headless)                                                        │
  │ Node Version:   v16.14.2 (/usr/local/bin/node)                                                 │
  │ Specs:          6 found (a11y.test.js, analytics.test.js, cart.test.js, plp.test.js, search.te │
  │                 st.js, seo.test.js)                                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  a11y.test.js                                                                    (1 of 6)


  1) An uncaught error was detected outside of a test

  0 passing (276ms)
  1 failing

  1) An uncaught error was detected outside of a test:
     TypeError: The following error originated from your test code, not from Cypress.

  > Cypress.Commands.addQuery is not a function

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
      at eval (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37502:20)
      at Array.forEach (<anonymous>)
      at Object.../node_modules/@testing-library/cypress/dist/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37498:12)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.../node_modules/@testing-library/cypress/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37482:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object../cypress/support/index.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56480:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.0 (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56491:18)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)



[mochawesome] Report JSON saved to /shared/project/.faststore/cypress/reports/single/mochawesome.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     a11y.test.js                                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /shared/project/.faststore/cypress/screenshots/a11y.test.js/An uncaught error wa     (1280x720)
     s detected outside of a test (failed).png                                                      


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: /shared/project/.faststore/cypress/videos/a11y.test.js.mp4     (0 seconds)


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  analytics.test.js                                                               (2 of 6)


  1) An uncaught error was detected outside of a test

  0 passing (266ms)
  1 failing

  1) An uncaught error was detected outside of a test:
     TypeError: The following error originated from your test code, not from Cypress.

  > Cypress.Commands.addQuery is not a function

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
      at eval (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37502:20)
      at Array.forEach (<anonymous>)
      at Object.../node_modules/@testing-library/cypress/dist/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37498:12)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.../node_modules/@testing-library/cypress/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37482:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object../cypress/support/index.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56480:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.0 (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56491:18)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)



[mochawesome] Report JSON saved to /shared/project/.faststore/cypress/reports/single/mochawesome_001.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     analytics.test.js                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /shared/project/.faststore/cypress/screenshots/analytics.test.js/An uncaught err     (1280x720)
     or was detected outside of a test (failed).png                                                 


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: /shared/project/.faststore/cypress/videos/analytics.test.js    (0 seconds)
                          .mp4                                                                      


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  cart.test.js                                                                    (3 of 6)


  1) An uncaught error was detected outside of a test

  0 passing (241ms)
  1 failing

  1) An uncaught error was detected outside of a test:
     TypeError: The following error originated from your test code, not from Cypress.

  > Cypress.Commands.addQuery is not a function

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
      at eval (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37502:20)
      at Array.forEach (<anonymous>)
      at Object.../node_modules/@testing-library/cypress/dist/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37498:12)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.../node_modules/@testing-library/cypress/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37482:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object../cypress/support/index.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56480:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.0 (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56491:18)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)



[mochawesome] Report JSON saved to /shared/project/.faststore/cypress/reports/single/mochawesome_002.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     cart.test.js                                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /shared/project/.faststore/cypress/screenshots/cart.test.js/An uncaught error wa     (1280x720)
     s detected outside of a test (failed).png                                                      


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: /shared/project/.faststore/cypress/videos/cart.test.js.mp4     (0 seconds)


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  plp.test.js                                                                     (4 of 6)


  1) An uncaught error was detected outside of a test

  0 passing (231ms)
  1 failing

  1) An uncaught error was detected outside of a test:
     TypeError: The following error originated from your test code, not from Cypress.

  > Cypress.Commands.addQuery is not a function

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
      at eval (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37502:20)
      at Array.forEach (<anonymous>)
      at Object.../node_modules/@testing-library/cypress/dist/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37498:12)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.../node_modules/@testing-library/cypress/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37482:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object../cypress/support/index.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56480:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.0 (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56491:18)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)



[mochawesome] Report JSON saved to /shared/project/.faststore/cypress/reports/single/mochawesome_003.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     plp.test.js                                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /shared/project/.faststore/cypress/screenshots/plp.test.js/An uncaught error was     (1280x720)
      detected outside of a test (failed).png                                                       


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: /shared/project/.faststore/cypress/videos/plp.test.js.mp4      (0 seconds)


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  search.test.js                                                                  (5 of 6)


  1) An uncaught error was detected outside of a test

  0 passing (266ms)
  1 failing

  1) An uncaught error was detected outside of a test:
     TypeError: The following error originated from your test code, not from Cypress.

  > Cypress.Commands.addQuery is not a function

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
      at eval (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37502:20)
      at Array.forEach (<anonymous>)
      at Object.../node_modules/@testing-library/cypress/dist/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37498:12)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.../node_modules/@testing-library/cypress/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37482:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object../cypress/support/index.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56480:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.0 (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56491:18)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)



[mochawesome] Report JSON saved to /shared/project/.faststore/cypress/reports/single/mochawesome_004.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     search.test.js                                                                   │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /shared/project/.faststore/cypress/screenshots/search.test.js/An uncaught error      (1280x720)
     was detected outside of a test (failed).png                                                    


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: /shared/project/.faststore/cypress/videos/search.test.js.mp    (0 seconds)
                          4                                                                         


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  seo.test.js                                                                     (6 of 6)


  1) An uncaught error was detected outside of a test

  0 passing (231ms)
  1 failing

  1) An uncaught error was detected outside of a test:
     TypeError: The following error originated from your test code, not from Cypress.

  > Cypress.Commands.addQuery is not a function

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
      at eval (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37502:20)
      at Array.forEach (<anonymous>)
      at Object.../node_modules/@testing-library/cypress/dist/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37498:12)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.../node_modules/@testing-library/cypress/add-commands.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:37482:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object../cypress/support/index.js (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56480:1)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)
      at Object.0 (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:56491:18)
      at __webpack_require__ (https://sfj-edd92b9--starter.preview.vtex.app/__cypress/tests?p=cypress/support/index.js:20:30)



[mochawesome] Report JSON saved to /shared/project/.faststore/cypress/reports/single/mochawesome_005.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     seo.test.js                                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /shared/project/.faststore/cypress/screenshots/seo.test.js/An uncaught error was     (1280x720)
      detected outside of a test (failed).png                                                       


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: /shared/project/.faststore/cypress/videos/seo.test.js.mp4      (0 seconds)


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✖  a11y.test.js                             264ms        1        -        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  analytics.test.js                        261ms        1        -        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  cart.test.js                             236ms        1        -        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  plp.test.js                              226ms        1        -        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  search.test.js                           249ms        1        -        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  seo.test.js                              220ms        1        -        1        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✖  6 of 6 failed (100%)                     00:01        6        -        6        -        -