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

misc: update browser icons #30790

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

mschile
Copy link
Contributor

@mschile mschile commented Dec 19, 2024

  • Closes n/a

Additional details

  • Updated to use the @cypress-design system browser icons

Steps to test

Verify the icons are correct.

How has the user experience changed?

Browser selection:
Screenshot 2024-12-19 at 9 19 02 AM

Open mode header and dropdown:
Screenshot 2024-12-19 at 9 19 38 AM

Debug:
Screenshot 2024-12-19 at 9 20 33 AM

Run mode header:
Screenshot 2024-12-19 at 9 22 39 AM

PR Tasks

@mschile mschile self-assigned this Dec 19, 2024
@@ -63,11 +63,11 @@
:disabled="autStore.isRunning"
>
<template #heading>
<img
<component
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This conditional logic is repeated in several places - can it be abstracted to a new component?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you referring to this conditional logic?

:is="allBrowsersIcons[selectedBrowser.displayName?.toLowerCase()] || allBrowsersIcons.generic"

That was already there before just under the src prop:

:src="allBrowsersIcons[selectedBrowser.displayName] || allBrowsersIcons.generic"

Copy link

cypress bot commented Dec 19, 2024

cypress    Run #59180

Run Properties:  status check cancelled Cancelled #59180  •  git commit 37f2913935: updates
Project cypress
Branch Review mschile/browser_icon_updates
Run status status check cancelled Cancelled #59180
Run duration 35m 34s
Commit git commit 37f2913935: updates
Committer Matthew Schile
View all properties for this run ↗︎

Test results
Tests that failed  Failures 7
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 377
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 6134
View all changes introduced in this branch ↗︎

Warning

Partial Report: The results for the Application Quality reports may be incomplete.

UI Coverage  39.04%
  Untested elements 198  
  Tested elements 130  
Accessibility  93.68%
  Failed rules  3 critical   8 serious   1 moderate   2 minor
  Failed elements 726  

Tests for review

Failed  gql-components/topnav/UpdateCypressModal.cy.tsx • 0 failed tests • frontend-shared-ct

View Output

Test Artifacts
Failed  components/CodeTag.cy.tsx • 0 failed tests • frontend-shared-ct

View Output

Test Artifacts
Failed  components/AlertHeader.cy.tsx • 0 failed tests • frontend-shared-ct

View Output

Test Artifacts
Failed  components/StatusIndicator.cy.tsx • 0 failed tests • frontend-shared-ct

View Output

Test Artifacts
Failed  components/Checkbox.cy.tsx • 0 failed tests • frontend-shared-ct

View Output

Test Artifacts

The first 5 failed specs are shown, see all 1179 specs in Cypress Cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants