Skip to main content

Playwright integration for Skipper test-gating via Google Spreadsheet

Project description

skipper-playwright

Playwright integration for Skipper test-gating via Google Spreadsheet.

Installation

pip install skipper-playwright playwright
playwright install

Setup

Inherit from SkipperSyncTest instead of writing plain test functions:

from skipper_playwright import SkipperSyncTest
from skipper_core import SkipperConfig, FileCredentials
from playwright.sync_api import Page

class LoginTests(SkipperSyncTest):
    skipper_config = SkipperConfig(
        spreadsheet_id="YOUR_SPREADSHEET_ID",
        credentials=FileCredentials("./service-account-skipper-bot.json"),
        sheet_name="skipper-python",
    )

    def test_login(self, page: Page):
        page.goto("https://example.com")
        ...

Test ID Format

tests/test_login.py > ClassName > test_method_name

See the root README for full documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skipper_playwright-1.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skipper_playwright-1.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file skipper_playwright-1.2.0.tar.gz.

File metadata

  • Download URL: skipper_playwright-1.2.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skipper_playwright-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e8c79a18b4c8399b8c5cb204d77bc02c3f9d089c0dd61c526264016485439283
MD5 12ac540a82707c3d97d611051c10612f
BLAKE2b-256 f7182307420fb7c1961186464528c6ec87d188974c430e6e7ade1d071b86fbd4

See more details on using hashes here.

File details

Details for the file skipper_playwright-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: skipper_playwright-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skipper_playwright-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 272df679348b128a2d0e184ceab871ac467a77e7d2d745749df4be2b9c604295
MD5 bda1539837669d68f4f0dd6fc707764c
BLAKE2b-256 c9904d57ae26c5306f8ce5e20ee9ac8ed296e4bad517ee19a0b43af22105ab84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page