Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit f19bc15

Browse files
committed
fix(nightwatch): use correct css selector
1 parent ca5e6b4 commit f19bc15

File tree

2 files changed

+4
-4
lines changed
  • packages/cna-template/template

2 files changed

+4
-4
lines changed

packages/cna-template/template/frameworks/nightwatch/test/e2e/pageObjects/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ module.exports = {
33
url: 'http://localhost:3000',
44
elements: {
55
docButton: {
6-
selector: '.button--green'
6+
selector: '.button--doc'
77
},
88
githubButton: {
9-
selector: '.button--grey'
9+
selector: '.button--github'
1010
}
1111
}
1212
}

packages/cna-template/template/nuxt/components/Tutorial.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
Welcome to your Nuxt Application
1212
</h2>
1313
<p class="mt-3 text-gray-600">
14-
We recommend you take a look at the <a href="https://nuxtjs.org" target="_blank" class="text-green-500 hover:underline">Nuxt documentation</a>, whether you are new or have previous experience with the framework.<br>
14+
We recommend you take a look at the <a href="https://nuxtjs.org" target="_blank" class="button--doc text-green-500 hover:underline">Nuxt documentation</a>, whether you are new or have previous experience with the framework.<br>
1515
</p>
1616
<p class="mt-4 pt-4 text-gray-800 border-t border-dashed">
1717
To get started, remove <code class="bg-gray-100 text-sm p-1 rounded border">components/Tutorial.vue</code> and start coding in <code class="bg-gray-100 text-sm p-1 rounded border">pages/index.vue</code>. Have fun!
1818
</p>
1919
</div>
2020
<div class="flex justify-center pt-4 space-x-2">
2121
<a href="https://github.com/nuxt/nuxt.js" target="_blank"><svg
22-
class="w-6 h-6 text-gray-600 hover:text-gray-800"
22+
class="w-6 h-6 text-gray-600 hover:text-gray-800 button--github"
2323
xmlns="http://www.w3.org/2000/svg"
2424
xmlns:xlink="http://www.w3.org/1999/xlink"
2525
aria-hidden="true"

0 commit comments

Comments
 (0)