Subscribe on changes!

Use WebdriverIO for e2e testing

avatar
Jul 17th 2023

What problem does this feature solve?

Hey WebdriverIO maintainer here 👋

I am a big fan of Vue and the Vue ecosystem and was wondering how the framework does its e2e and unit/component tests when building Vue. It seems like currently you use Puppeteer to run some e2e tests. I think this is great but it seems there is a lot of code you could get rid of when using an e2e test framework like WebdriverIO which can also be used for unit/component tests in the browser.

I am happy to do everything need to switch the harness. I feel like the setup would become much easier and it would be also very easy to run tests across different browser if this is desired.

What does the proposed API look like?

n/a

avatar
Jul 17th 2023

You can add here https://github.com/vuejs/create-vue/blob/85008f12aa2bb8b298e5f1dffacccf2cdfc43624/index.ts#L222

Currently, there are Cypress, Nightwatch, and Playwright.

avatar
Jul 17th 2023

I am aware of the create-vue project, I am asking more about the test harness in this repository.