Skip to content

Conversation

@skipi
Copy link
Collaborator

@skipi skipi commented Nov 4, 2025

📝 Description

  • Bumped the CI image to Alpine 3.20+, updated wallaby to comply with the new ChromeDriver version

  • Hardened our Wallaby helpers to handle DOM refreshes/retries, then applied them across the suite (flash assertions, modal submits, Okta setup, artifacts policies, etc.) so the worst flakes are gone

  • Stabilized the stubborn cases (self‑hosted agents page, artifacts retention editor, Okta integration flows) by waiting on the right UI hooks instead of the old modal DOM

✅ Checklist

  • I have tested this change
  • This change requires documentation update

@github-project-automation github-project-automation bot moved this to Backlog in Roadmap Nov 4, 2025
@skipi skipi force-pushed the mk/front/update-alpine-image branch 3 times, most recently from 6cb1d58 to beb84e8 Compare November 6, 2025 10:13
@semaphoreio semaphoreio deleted a comment from chatgpt-codex-connector bot Nov 6, 2025
@skipi
Copy link
Collaborator Author

skipi commented Nov 6, 2025

@codex review

Copy link

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

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.

ℹ️ 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".

@skipi skipi requested a review from lucaspin as a code owner November 6, 2025 13:12
@skipi skipi force-pushed the mk/front/update-alpine-image branch from 3427c62 to ececac4 Compare November 6, 2025 13:20
@skipi skipi changed the title toil(front): update alpine image to 3.20.8 toil(front): update alpine image to 3.22.2 Nov 6, 2025
@skipi skipi force-pushed the mk/front/update-alpine-image branch 5 times, most recently from 70ef81a to f015a8a Compare November 12, 2025 09:25
@DamjanBecirovic
Copy link
Collaborator

Code looks good, but please ask the agent to add the details about using the new browser_test and other parts of the new UI test setup introduced here into the AGENT.md file.

@skipi skipi force-pushed the mk/front/update-alpine-image branch from 39ff3ec to 8af8f5c Compare November 13, 2025 09:12
@skipi
Copy link
Collaborator Author

skipi commented Nov 13, 2025

@codex review

Copy link

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

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.

ℹ️ 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".

Comment on lines +23 to +32
defmacro browser_test(message, context \\ quote(do: _), contents) do
context = Macro.escape(context)
contents = Macro.escape(contents, unquote: true)

quote bind_quoted: [context: context, contents: contents, message: message] do
name = ExUnit.Case.register_test(__MODULE__, __ENV__.file, __ENV__.line, :test, message, [])

def unquote(name)(unquote(context)) do
unquote(contents)
rescue

Choose a reason for hiding this comment

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

P0 Badge Ensure browser_test executes the supplied block

The new browser_test/3 macro stores the block in contents but never unwraps the do: value. When the macro is expanded, contents is a keyword list ([do: ...]) and the generated test function body is simply that list, so the code inside the do block is never executed. All browser specs defined with browser_test will therefore pass without running any assertions or interactions. Extract the actual block (contents[:do]) or pattern match do: contents so the macro executes the user-provided code.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

By using the unquote: true option in Macro.escape/2, we ensure that the passed block actually executes.

@skipi skipi merged commit 4c85275 into main Nov 13, 2025
2 checks passed
@skipi skipi deleted the mk/front/update-alpine-image branch November 13, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

3 participants