fix(editor): Testing flaky resource mapper feature in e2e tests (#7165)

This commit is contained in:
Milorad FIlipović
2023-09-14 10:54:25 +02:00
committed by GitHub
parent 0c6169ee22
commit aaf87c3edd
7 changed files with 86 additions and 58 deletions

View File

@@ -242,6 +242,10 @@ function getParamType(field: ResourceMapperField): NodePropertyTypes {
return 'string';
}
function getParsedFieldName(fullName: string): string {
return parseResourceMapperFieldName(fullName) ?? fullName;
}
function onValueChanged(value: IUpdateInformation): void {
emit('fieldValueChanged', value);
}
@@ -344,7 +348,7 @@ defineExpose({
},
})
"
data-test-id="remove-field-button"
:data-test-id="`remove-field-button-${getParsedFieldName(field.name)}`"
@click="removeField(field.name)"
/>
</div>