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

Plugin Error: Help needed ⚙️ #140

Closed
muriukialex opened this issue Oct 18, 2023 · 7 comments
Closed

Plugin Error: Help needed ⚙️ #140

muriukialex opened this issue Oct 18, 2023 · 7 comments
Labels
bug Something isn't working released

Comments

@muriukialex
Copy link
Contributor

muriukialex commented Oct 18, 2023

Below is an error I get after using the cypress-split package to run my cypress tests for my GitHub actions workflow

Here's the error

cypress-split shouldWriteSummary true +46ms

Could not find spec results for a/a.spec.js
Could not find spec results for a/b.spec.js
Could not find spec results for accounts/a.spec.js
Could not find spec results for analytics/a.spec.js
Could not find spec results for apiKeys/a.spec.js
Could not find spec results for banners/a.spec.js
Could not find spec results for billing/a.spec.js
Could not find spec results for billing/b.spec.js
Could not find spec results for billing/c.spec.js
Could not find spec results for billing/d.spec.js
Could not find spec results for billing/e.spec.js
Could not find spec results for billing/f.spec.js
Could not find spec results for billing/g.spec.js
Could not find spec results for blockContactUpdate/a.spec.js
Could not find spec results for blocklist/a.spec.js
Could not find spec results for contacts/a.spec.js
Could not find spec results for contacts/b.spec.js
Could not find spec results for contacts/c.spec.js
Could not find spec results for contacts/d.spec.js
Could not find spec results for contacts/e.spec.js
Could not find spec results for contacts/f.spec.js
Could not find spec results for contacts/g.spec.js
Could not find spec results for contacts/h.spec.js
Could not find spec results for contacts/i.spec.js
Could not find spec results for contacts/j.spec.js
Could not find spec results for contacts/k.spec.js
Could not find spec results for contacts/l.spec.js
Could not find spec results for contacts/m.spec.js
Could not find spec results for contacts/n.spec.js
Could not find spec results for contacts/o.spec.js
Could not find spec results for enterprise/a.spec.js
Could not find spec results for enterprise/b.spec.js
Could not find spec results for expiredSession/a.spec.js
Could not find spec results for groups/a.spec.js
Could not find spec results for groups/b.spec.js
Could not find spec results for groups/c.spec.js
Could not find spec results for groups/d.spec.js
Could not find spec results for groups/e.spec.js

An error was thrown in your plugins file while executing the handler for the 'after:run' event.


An error was thrown in your plugins file while executing the handler for the 'after:run' event.

The error we received was:

TypeError: Cannot destructure property 'header' of 'cell' as it is undefined.
    at /home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/@actions/core/src/summary.ts:238:20
    at Array.map (<anonymous>)
    at /home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/@actions/core/src/summary.ts:233:12
    at Array.map (<anonymous>)
    at Summary.addTable (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/@actions/core/src/summary.ts:231:8)
    at Object.handler (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/cypress-split/src/index.js:351:14)
    at invoke (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:22:16)
    at /home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/util.js:45:14
    at tryCatcher (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Function.Promise.attempt.Promise.try (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29)
    at Object.wrapChildPromise (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/util.js:44:23)
    at wrapChildPromise (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:112:10)
    at execute (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:125:14)
    at EventEmitter.<anonymous> (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:202:5)
    at EventEmitter.emit (events.js:315:20)
    at process.<anonymous> (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/$HOME/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/util.js:19:22)

Error: The process '/opt/hostedtoolcache/node/18.18.0/x64/bin/npm' failed with exit code 1

I'm using cypress version 7.4.0 and the cypress-split version 1.13.0

"devDependencies": {
"cypress": "^7.4.0",
 "cypress-split": "^1.13.0"
}

Here's the way I have my Github workflow code

 - name: Run server and tests
    uses: cypress-io/github-action@v2
    env:
            SPLIT: ${{ strategy.job-total }}
            SPLIT_INDEX: ${{ strategy.job-index }}
            DEBUG: cypress-split
     with:
            install: false
            working-directory: dashboard
            browser: ${{ matrix.browser }}
            config: baseUrl=${{ matrix.base-url }}, port= ${{ matrix.port }}
            command: npm run cypress

npm run cypress runs this script command

"scripts": {
  "cypress": "PORT=3001 npm run dev & npx cypress run",
}

Attached below is my Github workflow file for more context

name: Tests

on:
    push:
        branches:
            - development
            - master
            - staging
        paths:
            - 'dashboard/**'
    pull_request:
        branches:
            - development
            - master
            - staging
        paths:
            - 'dashboard/**'

jobs:
    cypress-run:
        name: Cypress run
        runs-on: ubuntu-22.04
        strategy:
            fail-fast: false
            matrix:
                containers: [1, 2, 3, 4]
                directory:
                    - dashboard
                port:
                    - 3001
                base-url:
                    - http://localhost:3001
                browser:
                    - chrome

        steps:
            - name: Checkout 🛎
              uses: actions/checkout@v2

            - name: Update packages
              run: sudo apt-get update

            - name: Install Ubuntu deps
              run: sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb

            - name: Set up node
              uses: actions/setup-node@v3
              with:
                  node-version: 18
                  # node-version: ${{ matrix.node-version }}

            - name: Clear npm cache
              run: npm cache clean --force

            - name: Install dependencies
              run: npm install --legacy-peer-deps --verbose
              working-directory: dashboard

            - name: Check Cypress binary
              run: |
                  npx cypress cache path
                  npx cypress cache list

            - name: Print GitHub strategy context 🖨
              run: echo '${{ toJSON(strategy) }}'

            - name: Run server and tests
              uses: cypress-io/github-action@v2
              env:
                  SPLIT: ${{ strategy.job-total }}
                  SPLIT_INDEX: ${{ strategy.job-index }}
                  DEBUG: cypress-split
              with:
                  install: false
                  working-directory: dashboard
                  browser: ${{ matrix.browser }}
                  config: baseUrl=${{ matrix.base-url }}, port= ${{ matrix.port }}
                  command: npm run cypress

Any assistance with be well appreciated @bahmutov @vallme2003 @Baune8D

@bahmutov
Copy link
Owner

It seems, it does not properly find the specs, so the spec names are not absolute.
I added a fix, to be released soon.
BUT: you are using Cypress v7 that is very very old. I would upgrade ASAP to the new Cypress version, ok.

@bahmutov
Copy link
Owner

Also: could you post the DEBUG logs? It seems you only have partial logs, I would like to see which specs it finds

@bahmutov bahmutov added the bug Something isn't working label Oct 18, 2023
@muriukialex
Copy link
Contributor Author

It seems, it does not properly find the specs, so the spec names are not absolute. I added a fix, to be released soon. BUT: you are using Cypress v7 that is very very old. I would upgrade ASAP to the new Cypress version, ok.

Alright, my team and I have been contemplating doing the upgrade.

@muriukialex
Copy link
Contributor Author

Also: could you post the DEBUG logs? It seems you only have partial logs, I would like to see which specs it finds

Posting the logs in a bit.

Interestingly enough, after setting the SPLIT_SUMMARY yml env config to false, the error vanished

- name: Run server and tests
   uses: cypress-io/github-action@v6
   env:
          SPLIT: ${{ strategy.job-total }}
          SPLIT_INDEX: ${{ strategy.job-index }}
          SPLIT_SUMMARY: false # here
          DEBUG: cypress-split
   with:
          install: false
          working-directory: dashboard
          browser: ${{ matrix.browser }}
          config: baseUrl=${{ matrix.base-url }}, port= ${{ matrix.port }}
          command: npm run cypress

@bahmutov
Copy link
Owner

Yeah, I think it was crashing because the relative name was undefined, which caused the summary to throw an error, so I fixed it in a9125bd

@muriukialex
Copy link
Contributor Author

muriukialex commented Oct 18, 2023

Also: could you post the DEBUG logs? It seems you only have partial logs, I would like to see which specs it finds

Run cypress-io/github-action@v6
Skipping install because install parameter is false
Using custom test command: npm run cypress
run tests command "npm run cypress"
current working directory "/home/runner/work/smsl-frontend/smsl-frontend/dashboard"
/opt/hostedtoolcache/node/18.18.0/x64/bin/npm run cypress

> dashboard@0.1.0 cypress
> PORT=3001 npm run dev & npx cypress run


> dashboard@0.1.0 dev
> react-scripts start

It looks like this is your first time using Cypress: 7.7.0

[STARTED] Task without title.
[SUCCESS] Task without title.

Opening Cypress...
(node:3054) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3054) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...

  cypress-split Cypress config env +0ms
  cypress-split { CACHE_FOLDER: '/home/runner/.cache/Cypress' } +0ms
  cypress-split current working directory /home/runner/work/smsl-frontend/smsl-frontend/dashboard +2ms
  cypress-split project root folder /home/runner/work/smsl-frontend/smsl-frontend/dashboard +1ms
cypress-split: there are 127 found specs
cypress-split: chunk 1 of 4
  cypress-split get chunk { specs: [ 'cypress/integration/BulkData/BulkDataOutbox.spec.js', 'cypress/integration/account-verification/email-confirmation.spec.js', 'cypress/integration/account-verification/email-verification.spec.js', 'cypress/integration/account-verification/phone-verification.spec.js', 'cypress/integration/accounts/account-switching.spec.js', 'cypress/integration/analytics/account-analytics.spec.js', 'cypress/integration/apiKeys/apiKeys.spec.js', 'cypress/integration/banners/banners.spec.js', 'cypress/integration/billing/airtel.spec.js', 'cypress/integration/billing/mpesa.spec.js', 'cypress/integration/billing/paypal_transaction.spec.js', 'cypress/integration/billing/pricing_tier_balance.spec.js', 'cypress/integration/billing/transactions.spec.js', 'cypress/integration/billing/walkthrough.spec.js', 'cypress/integration/blockContactUpdate/block.spec.js', 'cypress/integration/blocklist/blocklist.spec.js', 'cypress/integration/contacts/contacts.draft.spec.js', 'cypress/integration/contacts/contacts.page.spec.js', 'cypress/integration/contacts/create_contact.spec.js', 'cypress/integration/contacts/delete_contacts.spec.js', 'cypress/integration/contacts/edit_contact.spec.js', 'cypress/integration/contacts/list_contacts.spec.js', 'cypress/integration/contacts/upload_contacts.spec.js', 'cypress/integration/contacts/upload_contacts_draft.spec.js', 'cypress/integration/enterprise/index.spec.js', 'cypress/integration/enterprise/summary.spec.js', 'cypress/integration/expiredSession/index.spec.js', 'cypress/integration/groups/creategroup.spec.js', 'cypress/integration/groups/deletegroup.spec.js', 'cypress/integration/groups/group.draft.spec.js', 'cypress/integration/groups/groupdetails.spec.js', 'cypress/integration/groups/selectcontacts.spec.js', 'cypress/integration/groups/update_group.spec.js', 'cypress/integration/groups/viewgroups.spec.js', 'cypress/integration/header/header.spec.js', 'cypress/integration/inbox/delete_inbox.spec.js', 'cypress/integration/inbox/draft.inbox.spec.js', 'cypress/integration/inbox/inbox.spec.js', 'cypress/integration/inbox/update_inbox.spec.js', 'cypress/integration/login/login.spec.js', 'cypress/integration/logout/logout.spec.js', 'cypress/integration/maintainanceMode/maintanance.spec.js', 'cypress/integration/messagedetails/messagedetails.spec.js', 'cypress/integration/outbox/outbox.overview.js', 'cypress/integration/pagenotfound/index.spec.js', 'cypress/integration/pending-drafts/banner.spec.js', 'cypress/integration/pending-drafts/list.spec.js', 'cypress/integration/registration/registration.spec.js', 'cypress/integration/resetpassword/change_password.spec.js', 'cypress/integration/resetpassword/request_password_reset.spec.js', 'cypress/integration/scheduled-bulk-data_details/dates.spec.js', 'cypress/integration/scheduled-bulk-data_details/details.spec.js', 'cypress/integration/scheduled-message-details/dates.spec.js', 'cypress/integration/scheduled-message-details/details.spec.js', 'cypress/integration/scheduledBulkData/ScheduledOutbox.spec.js', 'cypress/integration/sendsms/compose.message.spec.js', 'cypress/integration/sendsms/custom.date.spec.js', 'cypress/integration/sendsms/discard.spec.js', 'cypress/integration/sendsms/drafts.spec.js', 'cypress/integration/sendsms/final.confirmation.spec.js', 'cypress/integration/sendsms/pre-populate-sheduling.spec.js', 'cypress/integration/sendsms/previousdraft.selection.spec.js', 'cypress/integration/sendsms/repeated.recipients.spec.js', 'cypress/integration/sendsms/review.recipients.spec.js', 'cypress/integration/sendsms/reviewmessage.spec.js', 'cypress/integration/sendsms/schedule.spec.js', 'cypress/integration/sendsms/select-all-contacts.spec.js', 'cypress/integration/sendsms/select.contacts.spec.js', 'cypress/integration/sendsms/summary.spec.js', 'cypress/integration/sendsms/upload.spec.js', 'cypress/integration/settings/change_password.spec.js', 'cypress/integration/singleAttachmentView/single.attachment.spec.js', 'cypress/integration/billing/lowBalance/create_lowbalance.spec.js', 'cypress/integration/billing/lowBalance/list_lowbalance.spec.js', 'cypress/integration/billing/lowBalance/update_lowbalance.spec.js', 'cypress/integration/blocklist/addtoblocklist/manual.spec.js', 'cypress/integration/bulkdata/sendBulkData/confirmNsend-bulkdata-transaction.spec.js', 'cypress/integration/bulkdata/sendBulkData/discard-bulkData-transaction.spec.js', 'cypress/integration/bulkdata/sendBulkData/review-bulkdata-recipients.spec.js', 'cypress/integration/bulkdata/sendBulkData/schedule-bulkDataTransaction.spec.js', 'cypress/integration/bulkdata/sendBulkData/select-bulkdata-recipients.spec.js', 'cypress/integration/enterprise/accountdetails/account.assign_sender_ids.spec.js', 'cypress/integration/enterprise/accountdetails/account.deassign_sender_ids.spec.js', 'cypress/integration/enterprise/accountdetails/account.groups.spec.js', 'cypress/integration/enterprise/accountdetails/account.keywords.spec.js', 'cypress/integration/enterprise/accountdetails/account.messages.spec.js', 'cypress/integration/enterprise/accountdetails/account.senderids.spec.js', 'cypress/integration/enterprise/accountdetails/account.shortcodes.spec.js', 'cypress/integration/enterprise/accountdetails/account.spec.js', 'cypress/integration/enterprise/accountdetails/account.transactions.spec.js', 'cypress/integration/enterprise/accountdetails/account.users.spec.js', 'cypress/integration/enterprise/accountdetails/adduser.spec.js', 'cypress/integration/enterprise/accountdetails/updateuser.spec.js', 'cypress/integration/enterprise/accounts/createaccount.spec.js', 'cypress/integration/enterprise/accounts/listaccounts.spec.js', 'cypress/integration/enterprise/accounts/updateaccounts.spec.js', 'cypress/integration/enterprise/messages/organization.messages.spec.js', 'cypress/integration/enterprise/settings/enterprise.avatar.update.spec.js', 'cypress/integration/enterprise/settings/enterprise.profile.spec.js', 'cypress/integration/enterprise/users/invite.spec.js', ... 27 more items ], splitN: 4, splitIndex: 0 } +10ms
cypress-split: specs from the current directory /home/runner/work/smsl-frontend/smsl-frontend/dashboard
  cypress-split split specs +7ms
  cypress-split [
  cypress-split   'cypress/integration/BulkData/BulkDataOutbox.spec.js',
  cypress-split   'cypress/integration/account-verification/email-confirmation.spec.js',
  cypress-split   'cypress/integration/account-verification/email-verification.spec.js',
  cypress-split   'cypress/integration/account-verification/phone-verification.spec.js',
  cypress-split   'cypress/integration/accounts/account-switching.spec.js',
  cypress-split   'cypress/integration/analytics/account-analytics.spec.js',
  cypress-split   'cypress/integration/apiKeys/apiKeys.spec.js',
  cypress-split   'cypress/integration/banners/banners.spec.js',
  cypress-split   'cypress/integration/billing/airtel.spec.js',
  cypress-split   'cypress/integration/billing/mpesa.spec.js',
  cypress-split   'cypress/integration/billing/paypal_transaction.spec.js',
  cypress-split   'cypress/integration/billing/pricing_tier_balance.spec.js',
  cypress-split   'cypress/integration/billing/transactions.spec.js',
  cypress-split   'cypress/integration/billing/walkthrough.spec.js',
  cypress-split   'cypress/integration/blockContactUpdate/block.spec.js',
  cypress-split   'cypress/integration/blocklist/blocklist.spec.js',
  cypress-split   'cypress/integration/contacts/contacts.draft.spec.js',
  cypress-split   'cypress/integration/contacts/contacts.page.spec.js',
  cypress-split   'cypress/integration/contacts/create_contact.spec.js',
  cypress-split   'cypress/integration/contacts/delete_contacts.spec.js',
  cypress-split   'cypress/integration/contacts/edit_contact.spec.js',
  cypress-split   'cypress/integration/contacts/list_contacts.spec.js',
  cypress-split   'cypress/integration/contacts/upload_contacts.spec.js',
  cypress-split   'cypress/integration/contacts/upload_contacts_draft.spec.js',
  cypress-split   'cypress/integration/enterprise/index.spec.js',
  cypress-split   'cypress/integration/enterprise/summary.spec.js',
  cypress-split   'cypress/integration/expiredSession/index.spec.js',
  cypress-split   'cypress/integration/groups/creategroup.spec.js',
  cypress-split   'cypress/integration/groups/deletegroup.spec.js',
  cypress-split   'cypress/integration/groups/group.draft.spec.js',
  cypress-split   'cypress/integration/groups/groupdetails.spec.js',
  cypress-split   'cypress/integration/groups/selectcontacts.spec.js'
  cypress-split ] +0ms
k   spec                                                               
--  -------------------------------------------------------------------
1   cypress/integration/BulkData/BulkDataOutbox.spec.js                
2   cypress/integration/account-verification/email-confirmation.spec.js
3   cypress/integration/account-verification/email-verification.spec.js
4   cypress/integration/account-verification/phone-verification.spec.js
5   cypress/integration/accounts/account-switching.spec.js             
6   cypress/integration/analytics/account-analytics.spec.js            
7   cypress/integration/apiKeys/apiKeys.spec.js                        
8   cypress/integration/banners/banners.spec.js                        
9   cypress/integration/billing/airtel.spec.js                         
10  cypress/integration/billing/mpesa.spec.js                          
11  cypress/integration/billing/paypal_transaction.spec.js             
12  cypress/integration/billing/pricing_tier_balance.spec.js           
13  cypress/integration/billing/transactions.spec.js                   
14  cypress/integration/billing/walkthrough.spec.js                    
15  cypress/integration/blockContactUpdate/block.spec.js               
16  cypress/integration/blocklist/blocklist.spec.js                    
17  cypress/integration/contacts/contacts.draft.spec.js                
18  cypress/integration/contacts/contacts.page.spec.js                 
19  cypress/integration/contacts/create_contact.spec.js                
20  cypress/integration/contacts/delete_contacts.spec.js               
21  cypress/integration/contacts/edit_contact.spec.js                  
22  cypress/integration/contacts/list_contacts.spec.js                 
23  cypress/integration/contacts/upload_contacts.spec.js               
24  cypress/integration/contacts/upload_contacts_draft.spec.js         
25  cypress/integration/enterprise/index.spec.js                       
26  cypress/integration/enterprise/summary.spec.js                     
27  cypress/integration/expiredSession/index.spec.js                   
28  cypress/integration/groups/creategroup.spec.js                     
29  cypress/integration/groups/deletegroup.spec.js                     
30  cypress/integration/groups/group.draft.spec.js                     
31  cypress/integration/groups/groupdetails.spec.js                    
32  cypress/integration/groups/selectcontacts.spec.js                  

  cypress-split setting the spec pattern to +15ms
  cypress-split [
  cypress-split   'cypress/integration/BulkData/BulkDataOutbox.spec.js',
  cypress-split   'cypress/integration/account-verification/email-confirmation.spec.js',
  cypress-split   'cypress/integration/account-verification/email-verification.spec.js',
  cypress-split   'cypress/integration/account-verification/phone-verification.spec.js',
  cypress-split   'cypress/integration/accounts/account-switching.spec.js',
  cypress-split   'cypress/integration/analytics/account-analytics.spec.js',
  cypress-split   'cypress/integration/apiKeys/apiKeys.spec.js',
  cypress-split   'cypress/integration/banners/banners.spec.js',
  cypress-split   'cypress/integration/billing/airtel.spec.js',
  cypress-split   'cypress/integration/billing/mpesa.spec.js',
  cypress-split   'cypress/integration/billing/paypal_transaction.spec.js',
  cypress-split   'cypress/integration/billing/pricing_tier_balance.spec.js',
  cypress-split   'cypress/integration/billing/transactions.spec.js',
  cypress-split   'cypress/integration/billing/walkthrough.spec.js',
  cypress-split   'cypress/integration/blockContactUpdate/block.spec.js',
  cypress-split   'cypress/integration/blocklist/blocklist.spec.js',
  cypress-split   'cypress/integration/contacts/contacts.draft.spec.js',
  cypress-split   'cypress/integration/contacts/contacts.page.spec.js',
  cypress-split   'cypress/integration/contacts/create_contact.spec.js',
  cypress-split   'cypress/integration/contacts/delete_contacts.spec.js',
  cypress-split   'cypress/integration/contacts/edit_contact.spec.js',
  cypress-split   'cypress/integration/contacts/list_contacts.spec.js',
  cypress-split   'cypress/integration/contacts/upload_contacts.spec.js',
  cypress-split   'cypress/integration/contacts/upload_contacts_draft.spec.js',
  cypress-split   'cypress/integration/enterprise/index.spec.js',
  cypress-split   'cypress/integration/enterprise/summary.spec.js',
  cypress-split   'cypress/integration/expiredSession/index.spec.js',
  cypress-split   'cypress/integration/groups/creategroup.spec.js',
  cypress-split   'cypress/integration/groups/deletegroup.spec.js',
  cypress-split   'cypress/integration/groups/group.draft.spec.js',
  cypress-split   'cypress/integration/groups/groupdetails.spec.js',
  cypress-split   'cypress/integration/groups/selectcontacts.spec.js'
  cypress-split ] +0ms
  cypress-split setting test files +2ms
└────────────────────────────────────────────────────────────────────────────────────────────────┘

  cypress-split shouldWriteSummary true +50ms
Could not find spec results for cypress/integration/BulkData/BulkDataOutbox.spec.js
Could not find spec results for cypress/integration/account-verification/email-confirmation.spec.js
Could not find spec results for cypress/integration/account-verification/email-verification.spec.js
Could not find spec results for cypress/integration/account-verification/phone-verification.spec.js
Could not find spec results for cypress/integration/accounts/account-switching.spec.js
Could not find spec results for cypress/integration/analytics/account-analytics.spec.js
Could not find spec results for cypress/integration/apiKeys/apiKeys.spec.js
Could not find spec results for cypress/integration/banners/banners.spec.js
Could not find spec results for cypress/integration/billing/airtel.spec.js
Could not find spec results for cypress/integration/billing/mpesa.spec.js
Could not find spec results for cypress/integration/billing/paypal_transaction.spec.js
Could not find spec results for cypress/integration/billing/pricing_tier_balance.spec.js
Could not find spec results for cypress/integration/billing/transactions.spec.js
Could not find spec results for cypress/integration/billing/walkthrough.spec.js
Could not find spec results for cypress/integration/blockContactUpdate/block.spec.js
Could not find spec results for cypress/integration/blocklist/blocklist.spec.js
Could not find spec results for cypress/integration/contacts/contacts.draft.spec.js
Could not find spec results for cypress/integration/contacts/contacts.page.spec.js
Could not find spec results for cypress/integration/contacts/create_contact.spec.js
Could not find spec results for cypress/integration/contacts/delete_contacts.spec.js
Could not find spec results for cypress/integration/contacts/edit_contact.spec.js
Could not find spec results for cypress/integration/contacts/list_contacts.spec.js
Could not find spec results for cypress/integration/contacts/upload_contacts.spec.js
Could not find spec results for cypress/integration/contacts/upload_contacts_draft.spec.js
Could not find spec results for cypress/integration/enterprise/index.spec.js
Could not find spec results for cypress/integration/enterprise/summary.spec.js
Could not find spec results for cypress/integration/expiredSession/index.spec.js
Could not find spec results for cypress/integration/groups/creategroup.spec.js
Could not find spec results for cypress/integration/groups/deletegroup.spec.js
Could not find spec results for cypress/integration/groups/group.draft.spec.js
Could not find spec results for cypress/integration/groups/groupdetails.spec.js
Could not find spec results for cypress/integration/groups/selectcontacts.spec.js
An error was thrown in your plugins file while executing the handler for the 'after:run' event.

The error we received was:

TypeError: Cannot destructure property 'header' of 'cell' as it is undefined.
    at /home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/@actions/core/src/summary.ts:238:20
    at Array.map (<anonymous>)
    at /home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/@actions/core/src/summary.ts:233:12
    at Array.map (<anonymous>)
    at Summary.addTable (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/@actions/core/src/summary.ts:231:8)
    at Object.handler (/home/runner/work/smsl-frontend/smsl-frontend/dashboard/node_modules/cypress-split/src/index.js:351:14)
    at invoke (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:22:16)
    at /home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/util.js:45:14
    at tryCatcher (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Function.Promise.attempt.Promise.try (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29)
    at Object.wrapChildPromise (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/util.js:44:23)
    at wrapChildPromise (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:112:10)
    at execute (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:125:14)
    at EventEmitter.<anonymous> (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run_plugins.js:202:5)
    at EventEmitter.emit (events.js:315:20)
    at process.<anonymous> (/home/runner/.cache/Cypress/7.7.0/Cypress/resources/app/packages/server/lib/plugins/util.js:19:22)

Error: The process '/opt/hostedtoolcache/node/18.18.0/x64/bin/npm' failed with exit code 1

@github-actions
Copy link

🎉 This issue has been resolved in version 1.15.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants