Browse Source

Merge pull request 'add IDs for puppeteer test script' (#74) from ids-for-tests into master

Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/74
kb/add-usage-guide
trentlarson 1 year ago
parent
commit
95287e4dd0
  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>
<!-- id used by puppeteer test script -->
<h3
id="advanced"
class="text-sm uppercase font-semibold mb-3"
@click="showAdvanced = !showAdvanced"
>
@ -277,7 +279,9 @@
</label>
<div class="flex py-2">
<!-- id used by puppeteer test script -->
<router-link
id="switch-identity-link"
: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"
>

2
src/views/IdentitySwitcherView.vue

@ -49,7 +49,9 @@
</ul>
<!-- Actions -->
<!-- id used by puppeteer test script -->
<router-link
id="start-link"
: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"
>

2
src/views/ImportAccountView.vue

@ -17,7 +17,9 @@
<p class="text-center text-xl mb-4 font-light">
Enter your seed phrase below to import your identity on this device.
</p>
<!-- id used by puppeteer test script -->
<input
id="seed-input"
type="text"
placeholder="Seed Phrase"
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
</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">
Do you have an identity to import?
</p>

Loading…
Cancel
Save