1.4.0 • Published 5 years ago

glace-web v1.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Build Status | Source Code | Release Notes

GlaceJS Web plugin

Provides steps for GlaceJS framework to launch web UI tests in browser.

Features

  • Launch standalone selenium server
  • Connect to existing selenium or appium server
  • Page Object Model with weak refs
  • Browser Pointer Events

Requirements:

  • Installed java in order to launch selenium server.

How to install

npm i glace-web

How to use

var glaceWeb = require("glace-web");
glaceWeb.Steps;
glaceWeb.config;

If plugin is used as a part of GlaceJS it will be loaded automatically.

CLI options

Selenium

  • --dont-install-drivers - Flag to not install selenium drivers on tests run.
  • --web - Flag to launch tests in browser. Browser will be launched on session start and closed on session finish.
  • --web-url - Application URL which will be used for web tests.
  • --web-resolution <widthxheight> - Browser viewport size (pc platform only).
  • --selenium-addr - Connect to launched selenium server with this address.
  • --platform - Specify platform type where tests will be executed. Default is pc. Supported values are pc, android, ios.
  • --browser - Name of browser where web tests will be executed. Default value is platform specific.

Appium

  • --device - Mobile device name.
  • --os-version - Mobile operating system version.
  • --ios-engine - iOS automation engine name.

API

Test examples

See integration tests in order to explore examples.

Tests and quality

  • Project tests report is here
  • Code coverage report is here
1.4.0

5 years ago

1.3.9

5 years ago

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago