14.15.3 • Published 5 years ago

codeceptjs-webdriver v14.15.3

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

ui_tests

Install

npm i If running tests vis Selenium: 1) Default option.

2) Custom option, using codeceptjs plugin. In the configuration file, inside plugin section there is a plugin enabled - wdio. To use it just add option --plugins wdio to the running command. Problem noticed: option windowSize: "maximize"for chrome doesn't work, could be windowSize: '1920x1680'used instead.

Configuration

The main configuration file - codecept.conf.js Inside helpers section it is possible to switch between diffent runners: Webdriver, Testcafe, Playwright etc. Note, that only one runner should be used, others should be commented. Currently tested on Chrome and Firefox on following runners

  • Selenium Webdriver
  • Testcafe (works but before the tests mute button should be clicked, also problems with drag and drop)
  • Playwright (video doesn't start on chrome, but works in firefox)

Run

Run below commands in the same folder where the codecep.conf.js file is locarted

  • ./node_modules/.bin/codeceptjs run - base command to run all tests, specified int the codecept.conf.js Options:
  • --steps - console output of every step (CLI reporting)
  • --grep @tagName- scenarios could be marked the tags and using this option it is possible to run particular group of tests or one test
  • --plugins pluginName - run tests, using plugin from the config file. For reporting curretnly two plugins were tested --plugins allure- run tests to generate reports, using allure framework. After runnning tests the following command should be excecuted to run allure server and to show report allure serve output
  • --reporter mochawesome- generated offline HTML report. Current problem - adding screenshot to the report doesn't work
14.15.3

5 years ago

14.15.2

5 years ago

14.15.1

5 years ago

14.15.0

5 years ago

14.14.4

5 years ago

14.14.3

5 years ago

14.14.2

5 years ago

14.14.1

5 years ago

14.14.0

5 years ago

14.13.4

5 years ago

14.13.3

5 years ago

14.13.6

5 years ago

14.13.5

5 years ago

14.13.2

5 years ago

14.13.1

5 years ago

14.13.0

5 years ago

14.12.1

5 years ago

14.12.0

5 years ago

14.11.9

5 years ago

14.11.8

5 years ago

14.11.7

5 years ago

14.11.6

5 years ago

14.11.5

5 years ago

14.11.4

5 years ago

14.11.3

5 years ago

14.11.2

5 years ago

14.11.1

5 years ago

14.11.0

5 years ago

14.10.1

5 years ago

14.10.0

5 years ago

14.9.3

5 years ago

14.9.1

5 years ago

14.9.0

5 years ago

14.8.24

5 years ago