mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore: Dashboard cypress refactor (#11280)
* moved dashboard tests to use data-test attributes * linter * fix for unstable save test
This commit is contained in:
committed by
GitHub
parent
9266f0a4a8
commit
55ae259b13
@@ -172,7 +172,7 @@ function PropertiesModal({ slice, onHide, onSave }: InternalProps) {
|
||||
</FormLabel>
|
||||
<FormControl
|
||||
name="name"
|
||||
data-test="properties-name-input"
|
||||
data-test="properties-modal-name-input"
|
||||
type="text"
|
||||
bsSize="sm"
|
||||
value={name}
|
||||
@@ -260,7 +260,7 @@ function PropertiesModal({ slice, onHide, onSave }: InternalProps) {
|
||||
{t('Cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
data-test="properties-save-button"
|
||||
data-test="properties-modal-save-button"
|
||||
type="submit"
|
||||
buttonSize="sm"
|
||||
buttonStyle="primary"
|
||||
|
||||
Reference in New Issue
Block a user