You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(e2e): select the value editors by role and name
ValueEditor no longer takes a data-test. Three accessors replace it, and
setText/waitForElementVisible accept a Locator so callers can pass one.
featureValueField() role=textbox, /^(Value|Control Value)/
variationValueField(i) role=textbox, "Variation Value", nth(i)
segmentOverrideValueField(i) scoped to the override, then role+name
The feature value alternation is not cosmetic: the label becomes
"Control Value <weight>%" once a feature has variations.
This also retires a selector that encoded its own value:
data-test={`featureVariationValue${featureStateToValue(value) || index}`}
The id was featureVariationValue1 only while the field was empty, and
became featureVariationValueadded once you typed. The tests passed because
they addressed it before typing.
toHaveValue becomes toHaveText in change-request-test: the editor is a
contenteditable, not a textarea, so there is no value to assert on.
No new type errors in e2e (3 before, 3 after, all pre-existing).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments