Skip to content
/ GIC Public

👷 📑 Automate creation of GitHub issues with selenium 📑 👷

License

Notifications You must be signed in to change notification settings

AAYBS/GIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge Build Status BCH compliance Known Vulnerabilities Total alerts Language grade: Python contributions welcome

GitHub Issue Creator

This project automates the creation of repetitive tasks, as creating GitHub issues to get more contributors. GitHub provides API action for most of the stuff that you can do through UI, check out GitHub API, but this project was created for fun to practice Selenium and POM design pattern. Page Object Model is used as a design pattern which has become popular in test automation for enhancing test maintenance and reducing code duplication. More information about Selenium or Page Object Models: PageObjects

Installation

pip install -r requirements.txt

Config Settings

Basic configuration options:

# Login page configuration
[LOGIN]
USER_NAME=your_username
PASSWORD=your_password

# Issue page configuration
[ISSUES]
TITLE=Issue title
DESCRIPTION=Issue description!
# Comma separated list of already created label names
LABELS=documentation,bug

# Browser configuration
[BROWSER]
# One of CHROME, FIREFOX
USE_BROWSER=CHROME

# URL configuration
[URL]
# The starting page for the browser driver, can just be the same as DEFAULT_URL
START_PAGE_URL = https://github.com/thockin/test/issues
# The URL of the issues page of the repo which the tool will create an issue on
DEFAULT_URL = https://github.com/thockin/test/issues

Running project

python creator.py