Skip to content

Commit

Permalink
chore: fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Nov 21, 2024
1 parent e3d47ae commit 0aee9de
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion e2e/docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default defineUserConfig({
{
text: 'Nested',
prefix: '/navbar/',
children: [
items: [
{
text: 'Nested foo',
link: '/navbar/foo.html',
Expand Down
25 changes: 22 additions & 3 deletions e2e/tests/plugin-theme-data/theme-data.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ test.describe('plugin-theme-data', () => {
'/',
{
text: 'Dropdown',
children: [
items: [
{
text: 'item',
link: '/navbar/',
},
{
text: 'Nested',
prefix: '/navbar/',
children: [
items: [
{
text: 'Nested foo',
link: '/navbar/foo.html',
Expand Down Expand Up @@ -124,7 +124,26 @@ test.describe('plugin-theme-data', () => {
logo: 'https://v2.vuepress.vuejs.org/images/hero.png',
navbar: [
'/',
{ text: 'Dropdown', items: [{ text: 'item', link: '/dropdown/' }] },
{
text: 'Dropdown',
items: [
{
text: 'item',
link: '/navbar/',
},
{
text: 'Nested',
prefix: '/navbar/',
items: [
{
text: 'Nested foo',
link: '/navbar/foo.html',
},
'bar.md',
],
},
],
},
],
sidebar: {
'/sidebar/heading/': 'structure',
Expand Down

0 comments on commit 0aee9de

Please sign in to comment.