Cylon.py

Latest version: v0.0.1

Safety actively analyzes 688552 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

2.1.2

- Fixed bug that not replace variables in when check url.
- Added following step.

feature
Then the [...] style contains '...'

2.1.0

- Added feature to config variable in site config.
- Re-arrange `config.yaml` fields as following example.

yaml
file config.yaml
site_config:
default: develop
develop:
urls:
web: http://dev.yourdomain.com
mobile: http://m-dev.yourdomain.com
variables:
var1: test
var2: 1234

production:
urls:
web: http://www.yourdomain.com
mobile: http://m.yourdomain.com
variables:
var1: test
var2: 5678


To use variables in feature steps, use syntax `${var_name}`, for example:

feature
When user enters 'hello ${var1} and ${var2}' to the [search_box]

2.0.0

- Drop `title:` config in page object file.
- Drop `route:` config in page object file, use new feature instead.
- Updated site config to support multiple sites.

New site configuration example.

yaml
file config.yaml
sites:
default: develop
develop:
web: http://www.dev.yourdomain.com
mobile: http://m.dev.yourdomain.com
production:
web: http://www.yourdomain.com
mobile: http://m.yourdomain.com


Usage in page object file with `<config name>::/path/...`.

yaml
file xxx.yaml
page:
name: WebPageName
url: mobile::/product/12345 browse to http://m.dev.yourdomain.com/product/12345


Switch site to run test with command option `site=<site name>`.


$ cylon run all site=production

1.3.2

- Fixed bug when check element is invisible.

1.3.1

- Fixed bug cylon command fail when specify some options.

1.3.0

- Fixed bug on new steps in v1.2.1
- Added feature to test responsive windows, please follow these steps.
1. run `cylon update project` command
2. configure your browser size in `responsive.yaml`
3. add option `browser-size=<name>` when run `cylon` command

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.