Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Fixed artifacts issue due to switching window title #28469

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

hjetpoluru
Copy link
Contributor

@hjetpoluru hjetpoluru commented Nov 14, 2024

Description

This PR addresses the issue where artifacts are not generated when a timeout occurs during the switching window and the dialog does not appear, making it difficult to determine what has happened during the test scenario.

The fix ensures that an error is generated when a timeout occurs and is correctly returned. If the dialog is found, no error is generated. Special thanks to @davidmurdoch for pair programming, understanding the issue and suggesting the fix.

Open in GitHub Codespaces

Related issues

Fixes:
#28116

Manual testing steps

All the artifacts needs to be generated.

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.

@hjetpoluru hjetpoluru added team-extension-platform INVALID-PR-TEMPLATE PR's body doesn't match template area-qa Relating to QA work (Quality Assurance) labels Nov 14, 2024
@hjetpoluru hjetpoluru self-assigned this Nov 14, 2024
Copy link
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 removed the INVALID-PR-TEMPLATE PR's body doesn't match template label Nov 14, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [3b58c8e]
Page Load Metrics (1987 ± 73 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint34922991911386186
domContentLoaded17592213195813967
load17752344198715373
domInteractive30207533718
backgroundConnect795232211
firstReactRender553021225225
getState594352914
initialActions01000
loadScripts12631683145012259
setupStore592202713
uiStartup196029552255249120
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-qa Relating to QA work (Quality Assurance) team-extension-platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants