0.0.0-canary-20230718072537 • Published 3 years ago

vite-vue-plugin-disable-inputs v0.0.0-canary-20230718072537

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

vite-vue-plugin-disable-inputs

Test your Vue applications with Playwright without worrying that Playwright is too quick for your application.

Thanks to this plugin all inputs and buttons are initially disabled until application is mounted. So nothing can be invoked by playwright too early causing tests to fail.

Installation

Add the package as devDependency using your favorite package manager:

pnpm add -D vite-vue-plugin-disable-inputs

Then, extend your's vitepress configuration by adding the vite plugins:

import { VueDisableInputsBeforeMount } from "vite-vue-plugin-disable-inputs";

export default defineNuxtConfig({
  vite: {
    plugins: [VueDisableInputsBeforeMount()],
  },
});

Changelog

Full changelog for stable version is available here

Latest changes: 0.0.0-canary-20230718072537

Patch Changes