add e2e tests for default throughput bucket

This commit is contained in:
Asier Isayas
2026-01-14 11:40:51 -08:00
parent 07378fc8c3
commit 4615af0c1c
2 changed files with 108 additions and 0 deletions

View File

@@ -177,6 +177,7 @@ export const ThroughputBucketsComponent: FC<ThroughputBucketsComponentProps> = (
fieldGroup: { width: 80 },
}}
disabled={bucket.maxThroughputPercentage === 100}
data-test={`bucket-${bucket.id}-percentage-input`}
/>
<Toggle
onText="Active"
@@ -187,6 +188,7 @@ export const ThroughputBucketsComponent: FC<ThroughputBucketsComponentProps> = (
root: { marginBottom: 0 },
text: { fontSize: 12, color: "var(--colorNeutralForeground1)" },
}}
data-test={`bucket-${bucket.id}-active-toggle`}
></Toggle>
{/* <Toggle
onText="Default"
@@ -225,6 +227,7 @@ export const ThroughputBucketsComponent: FC<ThroughputBucketsComponentProps> = (
);
}}
styles={{ root: { width: "50%" } }}
data-test="default-throughput-bucket-dropdown"
/>
</Stack>
);