Download the PHP package qualitycoder/cypress-package without Composer

On this page you can find all versions of the php package qualitycoder/cypress-package. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cypress-package

Specbee Logo

Documentation | Reusable Keywords | Installation | Rules | FAQ

Web Automation Framework (WAF)

Fast, easy, and reliable testing for drupal.


Introduction

Welcome to the Cypress Automation Package for Drupal! This package is designed to streamline and enhance the testing experience for Drupal developers by providing a robust set of custom Cypress commands and pre-configured test cases. With this package, you can efficiently automate end-to-end testing for your Drupal site, ensuring that your application performs as expected across various scenarios.

Installation

To get started, follow these steps:

  1. Install dependencies:
    • npm install or yarn install

Running Tests

You can run the tests using either the CLI in headless mode or the Cypress UI.

CLI - Headless Mode

Cypress UI

Running Tests with Tags

To run tests with specific tags:

  1. Update the environment and tags in the run:test:tags script:
    • "cypress run --env configFile=<envFile>,TAGS=\"<@tags>\""
  2. Run the tests:
    • npm run run:test:tags

Reusable Keywords

The Cypress Automation Package for Drupal includes a comprehensive set of reusable keywords (custom commands) designed to facilitate testing within Drupal environments. These keywords simplify test development, improve readability, and ensure maintainability.

Benefits of Reusable Keywords

Rules

Naming Conventions

This repository follows three different naming conventions:

  1. Camel Case (testUser):

    • Used for variable names in JavaScript files and folder names.
    • Example: Variable naming in a JS file, folder name - Repo name, e.g., appCV.
  2. Snake Case (test_user):

    • Used for naming keys in .json files.
    • Example: Mapping field name - "<repo_name><section><type>": "value".
  3. Kebab Case (test-user):
    • Used for naming .js and .feature files.
    • Example: Feature files - <repo-name><function>.feature, Mapping file - Only one .json file per repo, e.g., <repo-name>.json, Business keyword - Only one .js file per repo, e.g., <repo-name>.js, Keyword - <action>.js, API - <method><section>.js.

Committing Guidelines


All versions of cypress-package with dependencies

PHP Build Version
Package Version
Requires drupal/core Version ^9 || ^10
composer/installers Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package qualitycoder/cypress-package contains the following files

Loading the files please wait ....