Have ideas to improve npm?Join in the discussion! »

    concordialang-codeceptjs-webdriverio
    TypeScript icon, indicating that this package has built-in type declarations

    2.3.1 • Public • Published

    npm version GitHub last commit

    concordialang-codeceptjs-webdriverio

    🔌 Concordia Compiler Plug-in for CodeceptJS with WebDriverIO

    Generates and executes test scripts for web applications. Uses CodeceptJS with WebDriverIO.

    What's New

    Compatibility

    • Version 2.x works with Concordia 2.0.0 or above.
    • Version 1.x works with Concordia 1.0.0 or above.

    Installation

    1. Make sure you have Java 8 or above installed. WebDriverIO uses Selenium that requires Java.

    2. Access your application's folder from the terminal/console.

    3. Install it via Concordia or NPM:

      a) Installation via Concordia:

      concordia --plugin-install codeceptjs-webdriverio

      b) Installation via NPM:

      npm i -D concordialang-codeceptjs-webdriverio

    Execution

    Execute it with the Concordia Compiler. Example:

    concordia --plugin codeceptjs-webdriverio

    Configuration file

    CodeceptJS reads its configuration from codeceptjs.json. This plug-in adds the "WebDriverIO" to the property helpers with a basic configuration. Please see WebDriver Configuration for details on how to extend it.

    Version 2 adds "WebDriverIO" with the following configuration:

    {
    
    	"helpers": {
    		"WebDriverIO": {
    			"browser": "chrome",
    			"url": "http://localhost",
    			"windowSize": "maximize",
    			"smartWait": 5000
    		}
    	}
    }

    Versions 0.x and 1.x add "WebDriverIO" with the following configuration:

    {
    	"helpers": {
    		"WebDriverIO": {
    			"browser": "chrome",
    			"url": "http://localhost",
    			"windowSize": "maximize",
    			"smartWait": 5000,
    			"timeouts": {
    				"script": 60000,
    				"page load": 10000
    			}
    		}
    	}
    }

    Tips

    • You can change the value of the property url to your application's URL, e.g., "http://localhost/myapp".
    • You can change the value of the property browser to the desired browser to test, e.g., "firefox".
    • See more options.

    Supported CodeceptJS Commands

    See concordialang-codeceptjs-core.

    See also

    • katalon-concordia: extension for Google Chrome and Mozilla Firefox to convert recordings produced with Katalon Recorder into Concordia Language. It helps you to capture web elements' identification without inspecting them with the browser or looking into their source code.

    Dependencies

    Version 2.x

    • Compatible with Concordia 2.x.

    • No global packages nor changes made to your package.json (except for the own plugin).

    • Installed packages:

      name version 2.0-2.2 version 2.3+
      webdriverio 4.x 4.x
      selenium-standalone latest latest
      mocha 5.x 7.x
      mocha-multi 1.x 1.x
      mochawesome 3.x 6.x
    • See concordialang-codeceptjs-core for more packages installed.

    Version 1.x

    • Compatible with Concordia 1.x.
    • No global packages nor changes made to your package.json (except for the own plugin).
    • Install the same packages as version 0.x, but locally.

    Version 0.x

    • Compatible with Concordia 0.x
    • Package installed globally:
      name version
      codeceptjs 1.2.1
      webdriverio 4.14.0
      selenium-standalone latest
    • Packages installed as devDependencies in your package.json:
      name version
      codeceptjs 1.2.1
      mocha 5.2.0
      mocha-multi 1.0.1
      codeceptjs-cmdhelper latest
      codeceptjs-dbhelper latest
      database-js latest
      database-js-json latest

    License

    AGPL © Thiago Delgado Pinto

    Install

    npm i concordialang-codeceptjs-webdriverio

    DownloadsWeekly Downloads

    8

    Version

    2.3.1

    License

    AGPL-3.0

    Unpacked Size

    11.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar