MetaMask / MetaMask/metamask-extension

Improve error message when running e2e tests against the wrong build

Open
#22,786 0 comments 0 reactions 0 assignees View on GitHub
area-testSuite INVALID-ISSUE-TEMPLATE team-extension-platform type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

It would be good if there was a helpful error message when running e2e tests again a build created with either `yarn start` or `yarn dist`. It should say something like "It looks like you did not create a test build. Rerun your build with either `yarn start` or `yarn dist`"

Contributor guide

Open the contributing guide

Research direction

Start by locating the e2e test setup or entry point that detects builds created with yarn start or yarn dist. Reproduce the wrong-build case, then make the failure explain that a test build is required and rerun the build with either command; verify the e2e tests show the new message.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.