UNPKG

@bytescale/upload-widget-vue

Version:

Vue File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐

14 lines (12 loc) 438 B
import App from "../pageobjects/app.page"; describe("upload-widget-vue sandbox", () => { it("should contain a dropzone component", async () => { await App.open(); await expect(App.dropzoneUploadButton).toHaveText("Upload a File"); }); it("should contain a file upload button", async () => { await App.open(); await App.modalLauncher.click(); await expect(App.modalButton).toHaveText("Upload a File"); }); });