MetaMask / MetaMask/metamask-extension

Flaky test: `Update modal should reload the extension when confirmed`

Open
#34,739 0 comments 0 reactions 0 assignees View on GitHub
flaky tests Sev2-normal type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### What is this about?

[View logs](https://github.com/MetaMask/metamask-extension/actions/runs/16613417448/job/47001532199)
```js
Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:34227
at ClientRequest. (node_modules/selenium-webdriver/http/index.js:293:15)
at ClientRequest.emit (node:events:518:28)
at emitErrorEvent (node:_http_client:104:11)
at Socket.socketErrorListener (node:_http_client:518:5)
at Socket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
```

### Scenario

_No response_

### Design

_No response_

### Technical Details

_No response_

### Threat Modeling Framework

_No response_

### Acceptance Criteria

_No response_

### Stakeholder review needed before the work gets merged

- [ ] Engineering (needed in most cases)
- [ ] Design
- [ ] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)

### References

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked CI logs and locate the automated test named `Update modal should reload the extension when confirmed`. Investigate the ECONNREFUSED failure on the Selenium WebDriver connection, then verify that the test completes reliably in CI without the connection error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.