Skip to content

Conversation

evanpurkhiser
Copy link
Member

Because we were using a mix of max-width and min-width media queries
at the specific pixel size of the query one would apply but not the
other, in some cases causing the layout to completely break.

@evanpurkhiser evanpurkhiser requested a review from a team as a code owner August 21, 2025 16:33
@evanpurkhiser evanpurkhiser requested review from a team and removed request for a team August 21, 2025 16:33
cursor[bot]

This comment was marked as outdated.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 21, 2025
Copy link

codecov bot commented Aug 21, 2025

❌ 5 Tests Failed:

Tests completed Failed Passed Skipped
11443 5 11438 10
View the top 3 failed test(s) by shortest run time
IssueListOverview (actions) mark reviewed removes issues after making reviewed (when on for review tab)
Stack Traces | 1.57s run time
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name `/select issue/i`

Here are the accessible roles:

  presentation:

  Name "":
  ...

  --------------------------------------------------link:

  Name "Group 1":
  ...

  Name "View Project Details":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  --------------------------------------------------presentation:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  button:

  Name "Modify issue priority":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------button:

  Name "Modify issue assignee":
  ...

  Name "Invite Member":
  ...

  --------------------------------------------------
  presentation:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  textbox:

  Name "":
  ...

  --------------------------------------------------
  listbox:

  Name "":
  ...

  --------------------------------------------------
  paragraph:

  Name "":
  ...

  --------------------------------------------------

Ignored nodes: comments, script, style
...
    at Object.getElementError (.../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/config.js:37:19)
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:76:38
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:52:17
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:95:19
    at Object.getByRole (.../views/issueList/overview.actions.spec.tsx:329:28)
    at runNextTicks (node:internal/process/task_queues:65:5)
    at processTimers (node:internal/timers:520:9)
IssueListOverview (actions) priority removes issues after bulk reprioritizing (when excluding priorities)
Stack Traces | 1.64s run time
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name `/select issue/i`

Here are the accessible roles:

  presentation:

  Name "":
  ...

  --------------------------------------------------link:

  Name "Medium priority issue":
  ...

  Name "View Project Details":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  --------------------------------------------------presentation:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  button:

  Name "Modify issue priority":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------button:

  Name "Modify issue assignee":
  ...

  Name "Invite Member":
  ...

  --------------------------------------------------
  presentation:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  textbox:

  Name "":
  ...

  --------------------------------------------------
  listbox:

  Name "":
  ...

  --------------------------------------------------
  paragraph:

  Name "":
  ...

  --------------------------------------------------

Ignored nodes: comments, script, style
...
    at Object.getElementError (.../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/config.js:37:19)
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:76:38
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:52:17
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:95:19
    at Object.getByRole (.../views/issueList/overview.actions.spec.tsx:397:28)
IssueListOverview (actions) priority does not remove issues after bulk reprioritizing (when query includes all priorities)
Stack Traces | 1.69s run time
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name `/select issue/i`

Here are the accessible roles:

  presentation:

  Name "":
  ...

  --------------------------------------------------link:

  Name "Medium priority issue":
  ...

  Name "View Project Details":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  --------------------------------------------------presentation:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  button:

  Name "Modify issue priority":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------button:

  Name "Modify issue assignee":
  ...

  Name "Invite Member":
  ...

  --------------------------------------------------
  presentation:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  img:

  Name "":
  ...

  Name "":
  ...

  --------------------------------------------------
  textbox:

  Name "":
  ...

  --------------------------------------------------
  listbox:

  Name "":
  ...

  --------------------------------------------------
  paragraph:

  Name "":
  ...

  --------------------------------------------------

Ignored nodes: comments, script, style
...
    at Object.getElementError (.../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/config.js:37:19)
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:76:38
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:52:17
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:95:19
    at Object.getByRole (.../views/issueList/overview.actions.spec.tsx:491:28)
    at runNextTicks (node:internal/process/task_queues:65:5)
    at processTimers (node:internal/timers:520:9)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/fix-ui-consistently-use-min-width-media-queries branch from c56d4e2 to 4faad5b Compare August 25, 2025 14:35
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner August 25, 2025 14:35
Because we were using a mix of `max-width` and `min-width` media queries
at the specific pixel size of the query one would apply but not the
other, in some cases causing the layout to completely break.
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/fix-ui-consistently-use-min-width-media-queries branch from 4faad5b to 9285a1c Compare August 25, 2025 18:01
@evanpurkhiser evanpurkhiser merged commit 4b3fe28 into master Aug 25, 2025
45 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/fix-ui-consistently-use-min-width-media-queries branch August 25, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants