We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bac1df5 commit 6a65166Copy full SHA for 6a65166
demo/skip-to-list.html
@@ -18,10 +18,13 @@
18
<body>
19
20
<div id="app">
21
- <vue-skip-to-list :to="[
22
- {anchor: '#main', label: 'Main'},
23
- {anchor: '#footer', label: 'Footer'},
24
- ]">
+ <vue-skip-to-list
+ :to="[
+ {anchor: '#main', label: 'Main'},
+ {anchor: '#footer', label: 'Footer'},
25
+ ]"
26
+ data-vst="skip-to-list"
27
+ >
28
Skip links
29
</vue-skip-to-list>
30
tests/e2e/integration/skip-to-list.js
@@ -0,0 +1,11 @@
1
+describe('skip-link list', () => {
2
+ beforeEach(() => {
3
+ cy.visit('/skip-to-list.html')
4
+ })
5
+
6
+ it('Should render list label', () => {
7
+ cy
8
+ .get('[data-vst="skip-to-list"]')
9
+ .should('contain', 'Skip links')
10
11
+})
0 commit comments