Browse Source

add IDs for puppeteer test script

why-migrate-fail
Trent Larson 1 year ago
parent
commit
afc48a5434
  1. 4
      src/views/AccountViewView.vue
  2. 2
      src/views/IdentitySwitcherView.vue
  3. 2
      src/views/ImportAccountView.vue
  4. 3
      src/views/StartView.vue

4
src/views/AccountViewView.vue

@ -244,7 +244,9 @@
</div> </div>
</div> </div>
<!-- id used by puppeteer test script -->
<h3 <h3
id="advanced"
class="text-sm uppercase font-semibold mb-3" class="text-sm uppercase font-semibold mb-3"
@click="showAdvanced = !showAdvanced" @click="showAdvanced = !showAdvanced"
> >
@ -277,7 +279,9 @@
</label> </label>
<div class="flex py-2"> <div class="flex py-2">
<!-- id used by puppeteer test script -->
<router-link <router-link
id="switch-identity-link"
:to="{ name: 'identity-switcher' }" :to="{ name: 'identity-switcher' }"
class="block text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2" class="block text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2"
> >

2
src/views/IdentitySwitcherView.vue

@ -49,7 +49,9 @@
</ul> </ul>
<!-- Actions --> <!-- Actions -->
<!-- id used by puppeteer test script -->
<router-link <router-link
id="start-link"
:to="{ name: 'start' }" :to="{ name: 'start' }"
class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-2" class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-2"
> >

2
src/views/ImportAccountView.vue

@ -17,7 +17,9 @@
<p class="text-center text-xl mb-4 font-light"> <p class="text-center text-xl mb-4 font-light">
Enter your seed phrase below to import your identity on this device. Enter your seed phrase below to import your identity on this device.
</p> </p>
<!-- id used by puppeteer test script -->
<input <input
id="seed-input"
type="text" type="text"
placeholder="Seed Phrase" placeholder="Seed Phrase"
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2" class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"

3
src/views/StartView.vue

@ -8,7 +8,8 @@
Start Here Start Here
</h1> </h1>
<div class="mt-8"> <!-- id used by puppeteer test script -->
<div id="start-question" class="mt-8">
<p class="text-center text-xl mb-4 font-light"> <p class="text-center text-xl mb-4 font-light">
Do you have an identity to import? Do you have an identity to import?
</p> </p>

Loading…
Cancel
Save