Skip to content

This is a demo framework (UI) that runs a set of tests against Regex101.

Notifications You must be signed in to change notification settings

kurotesuta/regex_aut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Automation Framework (Selenium)

This is a demo framework (UI) that runs a set of tests against Regex101.

Getting Started

This framework utilizes Webdriver Manager, to install:

npm install -g webdriver-manager

Then, we set up a Selenium server

webdriver-manager update

After, we start the Selenium server

webdriver-manager start --detach

Note: By fault, selenium server will run on http://localhost:4444/wd/hub

See Webdriver Manager repository for more info.

This framework also utilizes MochaJS, to install:

npm install --global mocha

See MochaJS repository for more info.

Once this is done, we install all dependecies:

npm install

Running Tests

To run all tests available:

npm test

Troubleshooting

Error: webdriver-manager.ps1 cannot be loaded because running scripts is disabled on this system. (Windows)

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

Known Issues

Scenario: Reload site? Pop-up won't dismiss

Tried different solutions and this issue reminds, requires further investigation. Tests will be working fine, however.

About

This is a demo framework (UI) that runs a set of tests against Regex101.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published