Giter Club home page Giter Club logo

python-automation's Introduction

Hi πŸ‘‹, I'm Ben Weese

A Software Development Engineer in Test(SDET) from Nebraska

benweese

beardedbatben

  • 🌱 I’m currently experienced in Java and Javascript

  • πŸ“ I sometimes write articles on https://blog.benweese.com

  • πŸ’¬ Ask me about Rest-assured, Postman, Playwright, or Selenium

  • πŸ“« How to reach me [email protected]

  • πŸ“„ Know about my experiences https://www.benweese.com

  • ⚑ Fun fact I run a homelab

Connect with me:

beardedbatben benweese 11583969 @benweese benweese

Languages and Tools:

aws bulma circleci css3 docker git html5 hugo java javascript jekyll kubernetes linux mariadb mysql postman python selenium spring travisci vuejs

Support:

benweese



python-automation's People

Contributors

benweese avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

python-automation's Issues

Updating Repo is failing as test run on Docker

Run pipenv install --dev
Warning: the environment variable LANG is not set!
We recommend setting this in ~/.profile (or equivalent) for proper expected behavior.
Warning: Python 3.7 was not found on your system…
You can specify specific versions of Python with:
  $ pipenv --python path/to/python
##[error]Process completed with exit code 1.

Add to Readme

The readme needs updated to include new documentation

CircleCI issues

When running in local Pipenv on multiple computers we get the following Results:
11 passed in 144.62 seconds

When running the same thing in CircleCI we get the following:
11 error in 0.65 seconds

This seems to be due to an issue with the chromedriver:

>       driver = Chrome(executable_path=os.getcwd() + '/chromedriver')

Pytest not running API test

Describe the bug
Pytest is not running the API test

To Reproduce
Steps to reproduce the behavior:

  1. Pipenv run Pytest
  2. Runs UI test only

Expected behavior
I expect it to run both test with name test_

Desktop (please complete the following information):

  • OS: MacOSx

Python Automation Template

Is your feature request related to a problem? Please describe.
Nope

Describe the solution you'd like
Need to create a Python Automation Template similar to my java automation template.

Describe alternatives you've considered
none

Cleanup/Refactor Code

Now that the code is close to complete it is time to refactor.

  1. Rename all variables from formsPOM from CamelCase to snake_case.

Fix Submit Buttons CSS Selector

Submit1 = (By.CSS_SELECTOR, "#et_pb_contact_form_0 button.et_pb_contact_submit")
Submit2 = (By.CSS_SELECTOR, "#et_pb_contact_form_1 button.et_pb_contact_submit")

is either not working or the wait is not working as the assert gets back:

AssertionError: assert '5 + 15 =\nSubmit' == 'Success'
+ Success
- 5 + 15 =
- Submit

The wait is giving back a:
TypeError: __init__() takes 3 positional arguments but 4 were given

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.