What do you want to save?
Add Code snippet
New code examples
-
-
Javascript 2022-03-11 13:25:05
cypress run specific test
cypress run --spec 'path/to/files/*.spec.js' Add solution -
Javascript 2022-01-31 21:05:58
cypress run all files in folder
I think you're looking for --spec path/to/folder/*.js You can run all the tests in a folder, or even in all subfolders of a folder example: --spec cypresss/integration/subsetA/**/*.js would run all .js files in all folders under the "subsetA"... Add solution -
-
Javascript 2022-01-22 13:10:43
upload image cypress
// programmatically upload the logo cy.fixture('images/logo.png').as('logo') cy.get('input[type=file]').then(function($input) { // convert the logo base64 string to a blob return Cypress.Blob.base64StringToBlob(this.logo, 'image/png') .then((blob)... Add solution