Skip to content

chore(runway): cherry-pick test: update token selection function for flaky test (#14337)#14546

Merged
NicolasMassart merged 2 commits into
release/7.44.0from
runway-cherry-pick-7.44.0-1744191647
Apr 9, 2025
Merged

chore(runway): cherry-pick test: update token selection function for flaky test (#14337)#14546
NicolasMassart merged 2 commits into
release/7.44.0from
runway-cherry-pick-7.44.0-1744191647

Conversation

@runway-github

@runway-github runway-github Bot commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

Description

A function to search a token was expecting a fixed value, and if it
wasn't present the test was failing. I updated the function to search
for the token by it's name and then selecting it.

Related issues

Fixes: Flaky test was failing the pipeline

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the
    app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described
    in the ticket it closes and includes the necessary testing evidence such
    as recordings and or screenshots. ae133ea

…flaky test (#14337)

## **Description**

A function to search a token was expecting a fixed value, and if it
wasn't present the test was failing. I updated the function to search
for the token by it's name and then selecting it.

## **Related issues**

Fixes: Flaky test was failing the pipeline

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ✓ ] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ✓ ] I've completed the PR template to the best of my ability
- [ ✓ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ✓ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
@runway-github runway-github Bot requested review from a team as code owners April 9, 2025 09:41
@github-actions

github-actions Bot commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-runway-bot-deprecated DEPRECATED: please use "team-bots" instead label Apr 9, 2025
@sonarqubecloud

sonarqubecloud Bot commented Apr 9, 2025

Copy link
Copy Markdown

@NicolasMassart NicolasMassart changed the title chore(runway): cherry-pick test: update token selection function for flaky test chore(runway): cherry-pick test: update token selection function for flaky test (#14337) Apr 9, 2025
@NicolasMassart NicolasMassart merged commit d36abec into release/7.44.0 Apr 9, 2025
@github-actions

github-actions Bot commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 1c5fb1e
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/98fcab26-d382-4d6c-9425-36c3f2d141bc

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@NicolasMassart NicolasMassart deleted the runway-cherry-pick-7.44.0-1744191647 branch April 9, 2025 10:41
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

team-runway-bot-deprecated DEPRECATED: please use "team-bots" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants