fix: finalize convex optimization remediations #78
Annotations
2 errors and 1 warning
|
Run Tests
Process completed with exit code 1.
|
|
components/studio/upgrade-modal.test.tsx > UpgradeModal > displays pro features:
components/studio/upgrade-modal.test.tsx#L60
TestingLibraryElementError: Unable to find an element with the text: 9. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
data-scroll-locked="1"
style="pointer-events: none;"
>
<span
aria-hidden="true"
data-aria-hidden="true"
data-radix-focus-guard=""
style="outline: none; opacity: 0; position: fixed; pointer-events: none;"
tabindex="0"
/>
<div
aria-hidden="true"
data-aria-hidden="true"
/>
<div
aria-hidden="true"
class="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50"
data-aria-hidden="true"
data-slot="dialog-overlay"
data-state="open"
style="pointer-events: auto;"
/>
<div
aria-describedby="radix-_r_8_"
aria-labelledby="radix-_r_7_"
class="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] rounded-lg duration-200 outline-none sm:max-w-md p-0 overflow-hidden border border-border/50 bg-card shadow-2xl flex flex-col gap-0 max-h-[calc(100vh-4rem)]"
data-slot="dialog-content"
data-state="open"
id="radix-_r_6_"
role="dialog"
style="pointer-events: auto;"
tabindex="-1"
>
<div
class="absolute top-0 left-0 right-0 h-1 w-full bg-gradient-to-r from-transparent via-primary/60 to-transparent z-10"
/>
<div
class="flex-shrink-0 px-6 pt-6 pb-2"
>
<div
class="flex flex-col gap-2 text-center sm:text-left space-y-2"
data-slot="dialog-header"
>
<p
class="text-[10px] font-medium tracking-widest uppercase text-primary/80"
>
Trial Ended
</p>
<h2
class="text-xl font-semibold tracking-tight text-foreground"
data-slot="dialog-title"
id="radix-_r_7_"
>
Continue Creating
</h2>
<p
class="text-sm text-muted-foreground"
data-slot="dialog-description"
id="radix-_r_8_"
>
Unlock unlimited creative potential with Pro.
</p>
</div>
</div>
<div
class="flex-1 overflow-y-auto px-6 pb-4"
>
<div
class="mt-2 grid grid-cols-3 gap-2"
>
<div
class="flex flex-col items-center text-center py-2.5 px-2 rounded-lg bg-muted/30 border border-border/30"
>
<svg
aria-hidden="true"
class="lucide lucide-images w-4 h-4 text-primary/70 mb-1.5"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16"
/>
<path
d="M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2"
/>
<circle
cx="13"
cy="7"
fill="currentColor"
r="1"
/>
<rect
height="14"
rx="2"
width="14"
x="8"
y="2"
/>
</svg>
<p
class="text-base font-semibold text-foreground tabular-nums leading-none"
>
5,000+
</p>
<p
class="text-[11px] text-muted-foreground mt-1"
>
generations / day
</p>
</div>
<div
class="flex flex-col items-center text-center py-2.5 px-2 rounded-lg bg-muted/30 border border-border/30"
>
<svg
|
|
Run Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|