Skip to content

healenium/healenium-example-webdriverio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webdriverio Example with Healenium

Docker Pulls License

This repository contains automation tests with Webdriverio + Mocha using Healenium.

1. Start Healenium components

2. Configuration RemoteWebDriver for Healenium

3. Run tests using Wdio

4. Monitoring tests running

How to start

1. Start Healenium components

Go into healenium folder

cd healenium

Run Healenium with Selenium-Grid:

docker-compose 

Run Healenium with Selenoid:

docker-compose -f docker-compose-selenoid.yaml up -d

ATTENTION

Verify the next images are Up and Running

  • postgres-db (PostgreSQL database to store etalon selector / healing / report)
  • hlm-proxy (Proxy client request to Selenium server)
  • hlm-backend (CRUD service)
  • selector imitator (Convert healed locator to convenient format)
  • selenoid/selenium-grid (Selenium server)

2. Configuration RemoteWebDriver for Healenium

To run using Healenium specify properties of wdio.conf.js :

    services: [],
    // host/port/protocol your hlm-proxy service
    hostname: '127.0.0.1',
    port: 8085,
    protocol: 'http'

3. Run tests using wdio

npm install 

Run your tests

npm run wdio

4. Monitoring tests running

You can monitor tests running if you using Healenium with Selenoid plus Selenoid Ui, go to :

http://localhost:8080

Community / Support

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published