Skip to content

build: stop using cypress/browsers for Applitools#6901

Merged
sidharthv96 merged 1 commit intodevelopfrom
build/fix-applitools-e2e-workflow
Aug 28, 2025
Merged

build: stop using cypress/browsers for Applitools#6901
sidharthv96 merged 1 commit intodevelopfrom
build/fix-applitools-e2e-workflow

Conversation

@aloisklink
Copy link
Member

📑 Summary

The Applitools workflow in .github/workflows/e2e-applitools.yml is failing with the following error:

Your configFile threw an error from: cypress.config.js

We stopped running your tests because your config file crashed.

Error: connect ECONNREFUSED 127.0.0.1:21077
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16)

Running this in GitHub Actions instead of in the cypress/browsers docker image fixes this issue.

I've tested this in https://github.com/mermaid-js/mermaid/actions/runs/17232726852/job/48890317715 and it seems to work!

📏 Design Decisions

N/A

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added necessary unit/e2e tests.
    • Not needed.
  • 📓 have added documentation. Make sure MERMAID_RELEASE_VERSION is used for all new features.
    • Not needed.
  • 🦋 If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.
    • Build/CI only change

    I'm running into the following error and I'm hoping this will fix it:
    
    > Your configFile threw an error from: cypress.config.js
    >
    > We stopped running your tests because your config file crashed.
    >
    > Error: connect ECONNREFUSED 127.0.0.1:21077
    >     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16)

on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
@aloisklink aloisklink requested a review from sidharthv96 August 26, 2025 09:56
@changeset-bot
Copy link

changeset-bot bot commented Aug 26, 2025

⚠️ No Changeset found

Latest commit: e32dc85

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Aug 26, 2025

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit e32dc85
🔍 Latest deploy log https://app.netlify.com/projects/mermaid-js/deploys/68ad84e30a1ec5000869c105
😎 Deploy Preview https://deploy-preview-6901--mermaid-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 26, 2025

Open in StackBlitz

@mermaid-js/examples

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/examples@6901

mermaid

npm i https://pkg.pr.new/mermaid-js/mermaid@6901

@mermaid-js/layout-elk

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/layout-elk@6901

@mermaid-js/mermaid-zenuml

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/mermaid-zenuml@6901

@mermaid-js/parser

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/parser@6901

@mermaid-js/tiny

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/tiny@6901

commit: e32dc85

@codecov
Copy link

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 3.66%. Comparing base (1221de4) to head (e32dc85).
⚠️ Report is 9 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #6901   +/-   ##
=======================================
  Coverage     3.65%   3.66%           
=======================================
  Files          455     455           
  Lines        45589   45599   +10     
  Branches       709     709           
=======================================
+ Hits          1668    1669    +1     
- Misses       43921   43930    +9     
Flag Coverage Δ
unit 3.66% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@argos-ci
Copy link

argos-ci bot commented Aug 26, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Aug 26, 2025, 10:07 AM

@sidharthv96 sidharthv96 merged commit b1c4eb3 into develop Aug 28, 2025
26 of 28 checks passed
@sidharthv96 sidharthv96 deleted the build/fix-applitools-e2e-workflow branch August 28, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants