Skip to content

chore: Drop support for playwright 1.60 - #58

Merged
ftes merged 3 commits into
mainfrom
push-ukvnxrnrkpwu
Jul 28, 2026
Merged

chore: Drop support for playwright 1.60#58
ftes merged 3 commits into
mainfrom
push-ukvnxrnrkpwu

Conversation

@ftes

@ftes ftes commented Jun 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

@ftes
ftes force-pushed the push-ukvnxrnrkpwu branch from 7b69243 to 9de91a3 Compare June 17, 2026 06:35
ftes added a commit to ftes/phoenix_test_playwright that referenced this pull request Jun 17, 2026
ftes added a commit to ftes/phoenix_test_playwright that referenced this pull request Jun 17, 2026
ftes added a commit to ftes/phoenix_test_playwright that referenced this pull request Jun 17, 2026
ftes added a commit to ftes/phoenix_test_playwright that referenced this pull request Jun 17, 2026
ftes added a commit to ftes/phoenix_test_playwright that referenced this pull request Jun 18, 2026
# Conflicts:
#	test/playwright_ex/page_test.exs
@ftes
ftes merged commit 260cbf2 into main Jul 28, 2026
2 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c1aec73ad4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

|> matches?(is_not)
end

defp matches?({:error, {%{error: %{name: "ExpectError"}}, %{timed_out: true}}}, is_not), do: {:ok, is_not}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle non-timeout ExpectError responses as non-matches

When Playwright 1.61 returns a valid Frame.expect assertion failure with error_details.timed_out: false—for example, an expectation that terminates before its deadline—this clause does not match and the next clause exposes it as {:error, ...}. Playwright identifies an unsatisfied expectation by the ExpectError plus assertion details, while timed_out only describes the failure; recognize these responses regardless of that boolean so Frame.expect/2 consistently returns the documented match result.

Useful? React with 👍 / 👎.

ftes added a commit to ftes/phoenix_test_playwright that referenced this pull request Jul 28, 2026
ftes added a commit to ftes/phoenix_test_playwright that referenced this pull request Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant