From 26440286781593285a5e050d3c3e615d5ded05fc Mon Sep 17 00:00:00 2001 From: Zachary Williams Date: Tue, 7 Feb 2023 22:03:50 -0600 Subject: [PATCH] chore: debug page tooltip distance and artifact border (#25727) * misc: debug page tooltip distance and artifact border * add changelog entry * fix CT test --- cli/CHANGELOG.md | 1 + packages/app/src/debug/DebugArtifactLink.cy.tsx | 2 +- packages/app/src/debug/DebugArtifactLink.vue | 4 +++- packages/app/src/debug/DebugFailedTest.vue | 2 +- packages/app/src/debug/DebugSpec.vue | 5 +++-- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index d62f144c9010..1d9bfef2f316 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -16,6 +16,7 @@ _Released 02/14/2023 (PENDING)_ - Improved the layout of the Debug Page on smaller viewports when there is a pending run. Addresses [#25664](https://github.com/cypress-io/cypress/issues/25664). - Improved the layout of the Debug Page when displaying informational messages. Addresses [#25669](https://github.com/cypress-io/cypress/issues/25669). - Icons in Debug page will no longer shrink at small viewports. Addresses [#25665](https://github.com/cypress-io/cypress/issues/25665). +- Increased the spacing between elements and their associated tooltip and added borders around artifact links on the Debug Page. Addresses [#25666](https://github.com/cypress-io/cypress/issues/25666). **Dependency Updates:** diff --git a/packages/app/src/debug/DebugArtifactLink.cy.tsx b/packages/app/src/debug/DebugArtifactLink.cy.tsx index 919abc703d88..196da01d36ce 100644 --- a/packages/app/src/debug/DebugArtifactLink.cy.tsx +++ b/packages/app/src/debug/DebugArtifactLink.cy.tsx @@ -11,7 +11,7 @@ describe('', () => { it('mounts correctly, provides expected tooltip content, and emits correct event', () => { artifactMapping.forEach((artifact) => { cy.mount(() => ( - + )) cy.findByTestId(`artifact-for-${artifact.icon}`).should('have.length', 1) diff --git a/packages/app/src/debug/DebugArtifactLink.vue b/packages/app/src/debug/DebugArtifactLink.vue index 635705840128..b1fa3cc31160 100644 --- a/packages/app/src/debug/DebugArtifactLink.vue +++ b/packages/app/src/debug/DebugArtifactLink.vue @@ -2,9 +2,10 @@