Meyicloud private Playwright UI automation utilities
Project description
Meyicloud Playwright UI Utils
Meyicloud Playwright UI Utils is a centralized automation utility package built on Playwright, created to standardize and simplify UI test automation across Meyicloud projects.
It provides reusable actions, assertions, locators, navigation flows, and helper utilities, helping teams write clean, consistent, and maintainable UI automation tests.
Key Benefits
- Reusable utilities shared across projects
- Standardized automation patterns and best practices
- Modular and easy to extend
- Faster test development with less boilerplate
- Improved maintainability through centralized updates
Intended Usage
This package is intended to be used across multiple Playwright-based UI test suites within Meyicloud to:
- Reduce code duplication
- Improve test reliability
- Promote scalable and reusable automation architecture
Example Code Snippets
Importing Utilities
from playwright.sync_api import Page
from meyicloud_pw_ui_utils.actions import click_action, fill_action
from meyicloud_pw_ui_utils.assertions import assert_text_visible
from meyicloud_pw_ui_utils.navigation import go_to_login
from meyicloud_pw_ui_utils.locators import LoginLocators
from playwright.sync_api import sync_playwright
from meyicloud_pw_ui_utils.navigation import go_to_login
from meyicloud_pw_ui_utils.assertions import assert_text_visible
def test_google():
with sync_playwright() as p:
page = p.chromium.launch(headless=False).new_page()
utils = PlaywrightUtils(page)
go_to_login("https://www.google.com")
utils.expect_url("https://www.google.com")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meyicloud_pw_ui_utils-1.0.1.tar.gz.
File metadata
- Download URL: meyicloud_pw_ui_utils-1.0.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
573f42c46cfc2a5d00198a6b16306186afaedcb9f6f60b174722c0b3a1ea4ff3
|
|
| MD5 |
cee872e3b728cfa0a858b91b816a0811
|
|
| BLAKE2b-256 |
cbb4283ed981ff133a3e9323e4631cc6493f3228490dcd691610a9e6fe595440
|
File details
Details for the file meyicloud_pw_ui_utils-1.0.1-py3-none-any.whl.
File metadata
- Download URL: meyicloud_pw_ui_utils-1.0.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fba974a9bf530470c913725785dad5fb7a32d45ed6299f7ff94cd0d4a7f93fda
|
|
| MD5 |
0bcf1c1d9cc6d3bda5c3ab9474d7e1f2
|
|
| BLAKE2b-256 |
2221da9b2d3dfbee8935ad5f671e67b095fb1ca996f4bfe6637769dcf5026d92
|