chore: Dashboard cypress refactor (#11280)

* moved dashboard tests to use data-test attributes

* linter

* fix for unstable save test
This commit is contained in:
adam-stasiak-polidea
2020-10-20 06:36:20 +02:00
committed by GitHub
parent 9266f0a4a8
commit 55ae259b13
11 changed files with 171 additions and 94 deletions

View File

@@ -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"