Skip to content
Snippets Groups Projects
Commit 04ce1f74 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

add ids for automated tests

parent 08b9e66f
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
<div :class="['menu', { 'visible transition': isOpen }]"> <div :class="['menu', { 'visible transition': isOpen }]">
<div <div
v-for="(option, index) in filteredOptions || ['No results found.']" v-for="(option, index) in filteredOptions || ['No results found.']"
:id="option.name && Array.isArray(option.name) ? option.name[0] : option.name"
:key="option + index" :key="option + index"
:class="[ :class="[
filteredOptions ? 'item' : 'message', filteredOptions ? 'item' : 'message',
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
<label>Opacité &nbsp;<span>(%)</span></label> <label>Opacité &nbsp;<span>(%)</span></label>
<div class="range-container"> <div class="range-container">
<input <input
id="opacity"
v-model="form.opacity" v-model="form.opacity"
type="range" type="range"
min="0" min="0"
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
</div> </div>
<div <div
v-for="(type, index) in feature_types" v-for="(type, index) in feature_types"
:id="type.title"
:key="type.title + '-' + index" :key="type.title + '-' + index"
class="item" class="item"
> >
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
> >
Champ de personnalisation de la symbologie: Champ de personnalisation de la symbologie:
</label> </label>
<span id=custom_types-dropdown> <span id="custom_types-dropdown">
<Dropdown <Dropdown
:options="customizableFields" :options="customizableFields"
:selected="selectedCustomfield" :selected="selectedCustomfield"
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
<div class="ui divider" /> <div class="ui divider" />
</div> </div>
<button <button
id="save-symbology"
class="ui teal icon button margin-25" class="ui teal icon button margin-25"
type="button" type="button"
:disabled="!canSaveSymbology" :disabled="!canSaveSymbology"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment