From eba6c7789c81125f8c5f7a7525678c3169d142df Mon Sep 17 00:00:00 2001 From: jstet Date: Wed, 8 Nov 2023 12:49:36 -0800 Subject: [PATCH] e2e: do not nav to become member --- README.md | 2 +- tests/all-nav-links.spec.js | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index 4ff6e131..7d5585a5 100755 --- a/README.md +++ b/README.md @@ -363,7 +363,7 @@ tests the static build which is used in production. npm run serve-static We recommend not to use `vite preview`/`npm run preview` for the static page, because - sometimes it provides more functioality than the static page will + sometimes it provides more functionality than the static page will actually have. 4. Run the e2e tests. The tests don't actually care whether the page is static, diff --git a/tests/all-nav-links.spec.js b/tests/all-nav-links.spec.js index 2939caad..972aa024 100755 --- a/tests/all-nav-links.spec.js +++ b/tests/all-nav-links.spec.js @@ -168,16 +168,6 @@ test.describe('test regular viewport', () => { }, page: '**/mitmachen/volunteer-teams/', }, - { - linkClick: async (page) => { - await page - .getByTestId('navColoringTest-navbar.volunteering') - .getByRole('link', {name: 'Mitmachen'}) - .hover(); - page.getByRole('link', {name: 'Vereinsmitglied werden'}).click(); - }, - page: '**/mitmachen/mitglied-werden/', - }, ]; test('smoke test all nav links', async ({page}) => {