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-0.1.0.tar.gz (2.6 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-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skipper_playwright-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a32c1a3200dccc7c22a8c2dc2d5df41f408274cbb332bc35b9a1682cf4eedabd
MD5 5816b08da956124cf94c4717b84b4bdf
BLAKE2b-256 bbffeac7a9ee8c808b49c8f8872f081f5093016f2d8b678bd03470f2ddcc6fb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skipper_playwright-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6ed71e0833fb2834e0eb117f1d73dac6b70bae7f25f9ac4caeb92c432edd676
MD5 5886d86c38c50b3dd4ce2bcbf88a9d5c
BLAKE2b-256 013011be13f44650df0e2b9232e0cd4ef03f6dd3ba809b873147b63c27826de4

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