perf(ci): speed up full WebUI regression gates (#6684)
* perf(ci): speed up full WebUI regression gates * perf(ci): balance browser shards with measured hosted timings
This commit is contained in:
1 parent
e91906bc3a
commit
7782095a85
21 files changed
+821
-346
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogTitle, DialogTrigger } from "@/components/ui/dialog";
|
||||
|
||||
export function TallDialogFixture({ placement }: { placement: "center" | "bottom" }) {
|
||||
return <main aria-label="Background content" style={{ height: 240, overflowY: "auto" }}>
|
||||
<div style={{ minHeight: 1800 }}><Dialog>
|
||||
<DialogTrigger asChild><button>Open tall dialog</button></DialogTrigger>
|
||||
<DialogContent placement={placement}>
|
||||
<DialogTitle>Tall dialog</DialogTitle>
|
||||
<DialogDescription>All controls must remain reachable in a short viewport.</DialogDescription>
|
||||
{Array.from({ length: 30 }, (_, index) => <label key={index}>
|
||||
Field {index + 1}<input aria-label={`Field ${index + 1}`} style={{ display: "block", height: 40 }} />
|
||||
</label>)}
|
||||
<DialogClose asChild><button>Save tall dialog</button></DialogClose>
|
||||
</DialogContent>
|
||||
</Dialog></div>
|
||||
</main>;
|
||||
}
|
||||
Reference in new issue
Block a user