Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f7dc27

Browse files
misc: set min widths for icons (cypress-io#25684)
Co-authored-by: Mike Plummer <[email protected]>
1 parent dfb28b0 commit 0f7dc27

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

cli/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
2+
## 12.6.0
3+
4+
_Released 02/14/2023 (PENDING)_
5+
6+
**Misc:**
7+
8+
- Icons in Debug page will no longer shrink at small viewports. Addresses [#25665](https://github.com/cypress-io/cypress/issues/25665).
9+
210
## 12.5.1
311

412
_Released 02/10/2023_

packages/app/src/debug/DebugFailedTest.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
size="16"
88
status="failed"
99
data-cy="failed-icon"
10-
class="isolate"
10+
class="min-w-16px isolate"
1111
/>
1212
<template
1313
v-for="{text, type}, index in failedTestData.mappedTitleParts"

packages/app/src/debug/DebugSpec.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
stroke-color="gray-500"
2121
fill-color="gray-100"
2222
size="16"
23+
class="min-w-16px"
2324
/>
25+
2426
<div
2527
data-cy="spec-path"
2628
class="flex-grow text-base non-italic truncate"

packages/app/src/debug/GroupedDebugFailedTest.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('<GroupedDebugFailedTest/>', () => {
8080

8181
cy.findAllByTestId(`grouped-row`).should('have.length', 2).each((el) => cy.wrap(el).within(() => {
8282
cy.findByTestId('debug-artifacts').should('not.be.visible')
83-
cy.wrap(el).realHover()
83+
cy.findByTestId('test-failed-metadata').realHover()
8484
cy.findByTestId('debug-artifacts').should('be.visible').children().should('have.length', 3)
8585
cy.findByTestId('stats-metadata').children().should('have.length', 3)
8686
}))

0 commit comments

Comments
 (0)