Skip to content

Commit b78a40d

Browse files
authored
removed link to /rpa and added ids to editor(#313)
1 parent 1dea68c commit b78a40d

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

src/components/Editor.vue

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
v-if="projectsList"
99
class="dropdown relative mr-xsmall mt-xsmall"
1010
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">
1212
<transition name="opacity" mode="out-in">
1313
<div class="mr-3xsmall ml-2xsmall" :key="activeProjectName">
1414
{{ activeProjectName }}
@@ -23,6 +23,7 @@
2323
<transition name="fade">
2424
<div
2525
v-if="projectDropdownOpen"
26+
id="project-dropdown-content"
2627
class="dropdown-content absolute bg-grey-darkest px-small pb-none pt-small">
2728
<button
2829
v-for="project in projectsList"
@@ -39,19 +40,22 @@
3940
<transition name="opacity">
4041
<button
4142
v-if="activeProjectName !== 'Custom code' && editorStatus.projectModified"
43+
id="reset-project-button"
4244
class="alert small mr-xsmall"
4345
@click="resetProject(); editorStatus.projectModified = false">
4446
Reset
4547
</button>
4648
</transition>
4749
<button
50+
id="copy-project-button"
4851
class="stroke mr-xsmall small flex middle"
4952
@click="copyProject()">
5053
<copy-icon size="1rem" color="white" />
5154
<div class="ml-2xsmall">Share</div>
5255
</button>
5356
<button
5457
v-if="!isFullEditor"
58+
id="open-maximized-button"
5559
class="stroke small flex middle"
5660
@click="openMaximized()">
5761
<new-tab-icon size="1rem" color="white" />
@@ -66,7 +70,11 @@
6670
:class="$store.state.isMobile ? 'mt-large' : 'mt-xsmall'"
6771
ref="versionDropdown">
6872
<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">
7078
<transition name="opacity" mode="out-in">
7179
<div class="mr-3xsmall ml-3xsmall" :key="activeProjectName">
7280
{{ selectedRFVersion }}
@@ -80,6 +88,7 @@
8088
<transition name="fade">
8189
<div
8290
v-if="versionDropdownOpen"
91+
id="version-dropdown-content"
8392
class="dropdown-content absolute bg-grey-darkest px-xsmall pb-none pt-small">
8493
<button
8594
v-for="version in RFVersions"
@@ -117,7 +126,10 @@
117126
<transition name="opacity" mode="out-in">
118127
<!-- file dropdown (mobile) -->
119128
<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">
121133
<transition name="opacity" mode="out-in">
122134
<div class="mr-3xsmall ml-2xsmall" :key="activeFileName">
123135
{{ activeFileName }}
@@ -131,6 +143,7 @@
131143
<transition name="fade">
132144
<div
133145
v-if="filesDropdownOpen"
146+
id="file-dropdown-content"
134147
class="dropdown-content absolute bg-grey-darkest px-small pb-none pt-small">
135148
<button
136149
v-for="{ fileName, hidden } in activeProject?.files"
@@ -148,6 +161,7 @@
148161
<div v-else :key="activeProjectName">
149162
<button
150163
v-for="{ fileName, hidden } in activeProject?.files"
164+
:id="'file-tab-' + fileName"
151165
:key="fileName"
152166
v-show="!hidden"
153167
class="stroke small m-2xsmall bg-grey-darkest"
@@ -162,6 +176,7 @@
162176
<button
163177
class="theme flex middle"
164178
:class="editorStatus.running ? 'disabled' : 'bling'"
179+
id="run-button"
165180
@click="runRobotTest()">
166181
<div class="pr-3xsmall weigh-black">{{ editorStatus.running ? '...' : 'Run' }}</div>
167182
<play-icon color="black" size="1.3rem" />
@@ -203,7 +218,7 @@
203218
<div class="col-sm-12 col-md-5 flex height-fit mt-small">
204219
<transition name="opacity">
205220
<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">
207222
<document-icon color="white" size="1.25rem" />
208223
<div class="ml-2xsmall">
209224
log.html
@@ -213,7 +228,7 @@
213228
</transition>
214229
<transition name="opacity">
215230
<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">
217232
<document-icon color="white" size="1.25rem" />
218233
<div class="ml-2xsmall">
219234
report.html

src/content/english/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default () => ({
6262
title: 'Introduction',
6363
body:
6464
`Robot Framework is a generic open source automation framework.
65-
It can be used for <a href="/test-automation/">test automation</a> and <a href="/rpa/">robotic process automation (RPA)</a>.<br><br>
65+
It can be used for <a href="/test-automation/">test automation</a> and robotic process automation (RPA).<br><br>
6666
6767
Robot Framework is supported by <a href="/foundation/">Robot Framework Foundation</a>.
6868
Many industry-leading companies use the tool in their software development.<br><br>

0 commit comments

Comments
 (0)