|
8 | 8 | v-if="projectsList"
|
9 | 9 | class="dropdown relative mr-xsmall mt-xsmall"
|
10 | 10 | ref="projectDropdown">
|
11 |
| - <button class="stroke small flex middle between bg-grey-darkest" @click="projectDropdownOpen = !projectDropdownOpen"> |
| 11 | + <button id="project-drop-down" class="stroke small flex middle between bg-grey-darkest" @click="projectDropdownOpen = !projectDropdownOpen"> |
12 | 12 | <transition name="opacity" mode="out-in">
|
13 | 13 | <div class="mr-3xsmall ml-2xsmall" :key="activeProjectName">
|
14 | 14 | {{ activeProjectName }}
|
|
23 | 23 | <transition name="fade">
|
24 | 24 | <div
|
25 | 25 | v-if="projectDropdownOpen"
|
| 26 | + id="project-dropdown-content" |
26 | 27 | class="dropdown-content absolute bg-grey-darkest px-small pb-none pt-small">
|
27 | 28 | <button
|
28 | 29 | v-for="project in projectsList"
|
|
39 | 40 | <transition name="opacity">
|
40 | 41 | <button
|
41 | 42 | v-if="activeProjectName !== 'Custom code' && editorStatus.projectModified"
|
| 43 | + id="reset-project-button" |
42 | 44 | class="alert small mr-xsmall"
|
43 | 45 | @click="resetProject(); editorStatus.projectModified = false">
|
44 | 46 | Reset
|
45 | 47 | </button>
|
46 | 48 | </transition>
|
47 | 49 | <button
|
| 50 | + id="copy-project-button" |
48 | 51 | class="stroke mr-xsmall small flex middle"
|
49 | 52 | @click="copyProject()">
|
50 | 53 | <copy-icon size="1rem" color="white" />
|
51 | 54 | <div class="ml-2xsmall">Share</div>
|
52 | 55 | </button>
|
53 | 56 | <button
|
54 | 57 | v-if="!isFullEditor"
|
| 58 | + id="open-maximized-button" |
55 | 59 | class="stroke small flex middle"
|
56 | 60 | @click="openMaximized()">
|
57 | 61 | <new-tab-icon size="1rem" color="white" />
|
|
66 | 70 | :class="$store.state.isMobile ? 'mt-large' : 'mt-xsmall'"
|
67 | 71 | ref="versionDropdown">
|
68 | 72 | <label class="absolute type-small" style="top: -1.5rem;">version</label>
|
69 |
| - <button class="stroke small flex middle between bg-grey-darkest" style="min-width: 7.5rem;" @click="versionDropdownOpen = !versionDropdownOpen"> |
| 73 | + <button |
| 74 | + id="version-drop-down" |
| 75 | + class="stroke small flex middle between bg-grey-darkest" |
| 76 | + style="min-width: 7.5rem;" |
| 77 | + @click="versionDropdownOpen = !versionDropdownOpen"> |
70 | 78 | <transition name="opacity" mode="out-in">
|
71 | 79 | <div class="mr-3xsmall ml-3xsmall" :key="activeProjectName">
|
72 | 80 | {{ selectedRFVersion }}
|
|
80 | 88 | <transition name="fade">
|
81 | 89 | <div
|
82 | 90 | v-if="versionDropdownOpen"
|
| 91 | + id="version-dropdown-content" |
83 | 92 | class="dropdown-content absolute bg-grey-darkest px-xsmall pb-none pt-small">
|
84 | 93 | <button
|
85 | 94 | v-for="version in RFVersions"
|
|
117 | 126 | <transition name="opacity" mode="out-in">
|
118 | 127 | <!-- file dropdown (mobile) -->
|
119 | 128 | <div v-if="$store.state.isMobile" class="dropdown relative mr-xsmall" ref="fileDropdown">
|
120 |
| - <button class="stroke small flex middle between bg-grey-darkest" @click="filesDropdownOpen = !filesDropdownOpen"> |
| 129 | + <button |
| 130 | + id="file-drop-down" |
| 131 | + class="stroke small flex middle between bg-grey-darkest" |
| 132 | + @click="filesDropdownOpen = !filesDropdownOpen"> |
121 | 133 | <transition name="opacity" mode="out-in">
|
122 | 134 | <div class="mr-3xsmall ml-2xsmall" :key="activeFileName">
|
123 | 135 | {{ activeFileName }}
|
|
131 | 143 | <transition name="fade">
|
132 | 144 | <div
|
133 | 145 | v-if="filesDropdownOpen"
|
| 146 | + id="file-dropdown-content" |
134 | 147 | class="dropdown-content absolute bg-grey-darkest px-small pb-none pt-small">
|
135 | 148 | <button
|
136 | 149 | v-for="{ fileName, hidden } in activeProject?.files"
|
|
148 | 161 | <div v-else :key="activeProjectName">
|
149 | 162 | <button
|
150 | 163 | v-for="{ fileName, hidden } in activeProject?.files"
|
| 164 | + :id="'file-tab-' + fileName" |
151 | 165 | :key="fileName"
|
152 | 166 | v-show="!hidden"
|
153 | 167 | class="stroke small m-2xsmall bg-grey-darkest"
|
|
162 | 176 | <button
|
163 | 177 | class="theme flex middle"
|
164 | 178 | :class="editorStatus.running ? 'disabled' : 'bling'"
|
| 179 | + id="run-button" |
165 | 180 | @click="runRobotTest()">
|
166 | 181 | <div class="pr-3xsmall weigh-black">{{ editorStatus.running ? '...' : 'Run' }}</div>
|
167 | 182 | <play-icon color="black" size="1.3rem" />
|
|
203 | 218 | <div class="col-sm-12 col-md-5 flex height-fit mt-small">
|
204 | 219 | <transition name="opacity">
|
205 | 220 | <div v-if="logSrc">
|
206 |
| - <button class="stroke small flex mr-small middle" @click="showLog = true"> |
| 221 | + <button id="log.html-button" class="stroke small flex mr-small middle" @click="showLog = true"> |
207 | 222 | <document-icon color="white" size="1.25rem" />
|
208 | 223 | <div class="ml-2xsmall">
|
209 | 224 | log.html
|
|
213 | 228 | </transition>
|
214 | 229 | <transition name="opacity">
|
215 | 230 | <div v-if="reportSrc">
|
216 |
| - <button class="stroke small flex middle" @click="showReport = true"> |
| 231 | + <button id="report.html-button" class="stroke small flex middle" @click="showReport = true"> |
217 | 232 | <document-icon color="white" size="1.25rem" />
|
218 | 233 | <div class="ml-2xsmall">
|
219 | 234 | report.html
|
|
0 commit comments