From d61faa993d0fa0188fc2ad93a4f22979688d4b56 Mon Sep 17 00:00:00 2001 From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Thu, 6 May 2021 08:46:11 +0530 Subject: [PATCH] feat(roll): roll Playwright to 1.11.0-1620331022000 --- .github/workflows/ci.yml | 10 ++-- README.md | 4 +- playwright/async_api/_generated.py | 78 +++++++++++++++++++---------- playwright/sync_api/_generated.py | 78 +++++++++++++++++++---------- setup.py | 2 +- tests/async/test_accessibility.py | 79 ++++++++++++++++++++++-------- tests/sync/test_accessibility.py | 79 ++++++++++++++++++++++-------- 7 files changed, 228 insertions(+), 102 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c97117bfe..532c26e81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,19 +145,19 @@ jobs: - name: Install ffmpeg run: python -m playwright install ffmpeg - name: Common Tests - run: pytest -vv tests/common --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 + run: pytest tests/common --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Sync API if: matrix.os != 'ubuntu-latest' - run: pytest -vv tests/sync --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 + run: pytest tests/sync --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Sync API if: matrix.os == 'ubuntu-latest' - run: xvfb-run pytest -vv tests/sync --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 + run: xvfb-run pytest tests/sync --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Async API if: matrix.os != 'ubuntu-latest' - run: pytest -vv tests/async --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 + run: pytest tests/async --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - name: Test Async API if: matrix.os == 'ubuntu-latest' - run: xvfb-run pytest -vv tests/async --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 + run: xvfb-run pytest tests/async --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90 - uses: actions/upload-artifact@v2 if: failure() with: diff --git a/README.md b/README.md index 36c5b362b..743814b90 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ Playwright is a Python library to automate [Chromium](https://www.chromium.org/H | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | -| Chromium 91.0.4469.0 | ✅ | ✅ | ✅ | +| Chromium 92.0.4498.0 | ✅ | ✅ | ✅ | | WebKit 14.2 | ✅ | ✅ | ✅ | -| Firefox 89.0b2 | ✅ | ✅ | ✅ | +| Firefox 89.0b6 | ✅ | ✅ | ✅ | Headless execution is supported for all browsers on all platforms. diff --git a/playwright/async_api/_generated.py b/playwright/async_api/_generated.py index e6ee34ac4..cebbd7082 100644 --- a/playwright/async_api/_generated.py +++ b/playwright/async_api/_generated.py @@ -1669,12 +1669,16 @@ async def select_option( ) -> typing.List[str]: """ElementHandle.select_option - Returns the array of option values that have been successfully selected. + This method waits for [actionability](./actionability.md) checks, waits until all specified options are present in the + `` element, this method throws an error. However, if the element is inside the + `