From bde47805e9ad35742d98891c4bf53bbd26dd1675 Mon Sep 17 00:00:00 2001 From: seaona <54408225+seaona@users.noreply.github.com> Date: Fri, 22 Nov 2024 07:32:30 +0100 Subject: [PATCH] chore: change e2e quality gate reruns for new/changed tests from 5 to 4 (#28611) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## **Description** To reduce ci usage. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28611?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** ### **Before** ### **After** ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.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-extension/blob/develop/.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. --- test/e2e/run-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/run-all.js b/test/e2e/run-all.js index a0e5ee9d54e5..b1b75d8864f6 100644 --- a/test/e2e/run-all.js +++ b/test/e2e/run-all.js @@ -32,7 +32,7 @@ const getTestPathsForTestDir = async (testDir) => { }; // Quality Gate Retries -const RETRIES_FOR_NEW_OR_CHANGED_TESTS = 5; +const RETRIES_FOR_NEW_OR_CHANGED_TESTS = 4; /** * Runs the quality gate logic to filter and append changed or new tests if present.