Skip to content

Fearplay/avast-e2e-playwright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avast-e2e-playwright

  • This script automates end-to-end testing of the official Avast website
  • This project demonstrates how to use Playwright for automated end-to-end testing

Index

Requirements

  • installation
    pip install -r requirements.txt
    
  • To install Playwright, you can also visit their official docs

General

  • This script is intended for educational and demonstration purposes only
  • It serves as an example of using Playwright for end-to-end testing of a real website
  • The purpose of this test is to simulate and verify basic user interactions such as:
    • Verifying that the cookie banner is hidden after acceptance
    • Ensuring the Free Download button is visible and functional
    • Checking that navigation buttons redirect to the correct pages
    • Validating that key icons include appropriate alt text for accessibility

Usage

  • Run the following command to execute all tests:

    pytest
    
  • Run the following command to execute desktop tests:

    pytest -m desktoptest    
    
  • Run the following command to execute android and ios tests:

    pytest -m "not desktoptest"
    
  • Run the following command to run Playwright in headed mode:

    pytest --headed 
    
  • Run the following command to see prints:

    pytest -s 
    
  • Run the following command to run record of the browser session:

    pytest --tracing=on
    

Other

  • If you find any issue, please don't hesitate to report it via Issues
  • If you have an idea to improve this game, please don't hesitate to create pull request via Pull requests
  • Thanks to all 💚

⚠️ Disclaimer

  • This project is not affiliated with or endorsed by Avast Software.

Back to TOP

About

Automated end-to-end tests for the official Avast website using Playwright.

Topics

Resources

License

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy