Skip to content

Test scenarios for the registration form on [last.fm/join](https://last.fm/join) page. All test cases are written in Behave language and automated in Python(3.7) and Selenium.

Notifications You must be signed in to change notification settings

Marcin214/last_fm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

last_fm

Test scenarios for the registration form on last.fm/join page. All test cases are written in Behave language and automated in Python(3.7) and Selenium.

Installation

Use the package manager pip to install behave and selenium.

$ pip install -r requirements.txt

Usage

For run single test scenario use command: behave -n "<scenario_name>"

Example:

$ behave -n "Validation wrong email addresses"

Run all test scenarios

$ behave

Structure

Diagram presents repository folder tree with files

last_fm
|
│   behave.ini
│   chromedriver.exe
│   README.md
│   requirements.txt
│
├───features
│   │   environment.py
│   │   registration.feature
│   │
│   └───steps
│           registration.py
│
└───model
        alert.ini
        element.ini

Notes

Validation wrong email addresses scenario detects wrong behaviour for:

  • email@111.222.333.44444 - invalid IP format
  • email@domain.web - .web is not a valid top level domain

Wrong behaviour observed also, with validation email address longer than 256 characters, example:

  • [255 characters]@gmail.com - RFC 5321 states: The maximum total length of a reverse-path or forward-path is 256 characters.

About

Test scenarios for the registration form on [last.fm/join](https://last.fm/join) page. All test cases are written in Behave language and automated in Python(3.7) and Selenium.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published