Form id and form item id value changes according to translate
Bug #2059108 reported by
Numan Menekşe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
skyline console |
New
|
Undecided
|
Unassigned |
Bug Description
The id values of the form and the items in the form change according to the selected language. This is because the "get name()" function uses "t()" to specify the value. When we write a test, we get an error for this reason.
It should be: The id value should be constant.
To post a comment you must log in.
The id of the form item in the form is a constant, which is form-item- col-{name} , where name comes from the name set in formItem. Just use constants when setting the name. The label of the form uses "t()" for Display form item names in different languages.
When writing e2e use cases, you can use the formXXX command and directly use the name of formItem, such as: formInput('name', name)
You can refer to the documentation: /opendev. org/openstack/ skyline- console/ src/branch/ master/ docs/en/ test/3- 1-E2E-form- operation. md
https:/