Skip to content

Add Playwright tests for zoom buttons and fix icon centering - #426

Merged
MFA-X-AI merged 1 commit into
XpressAI:masterfrom
rabea-al:zoom-buttons-playwright-test
Jul 24, 2025
Merged

MFA-X-AI merged 1 commit into
XpressAI:masterfrom
rabea-al:zoom-buttons-playwright-test

Conversation

@rabea-al

Copy link
Copy Markdown
Contributor

Description

  • Add Playwright tests for zoom buttons and fix icon centering

Pull Request Type

  • Xircuits Core (Jupyterlab Related changes)
  • Xircuits Canvas (Custom RD Related changes)
  • Xircuits Component Library
  • Xircuits Project Template
  • Testing Automation
  • Documentation
  • Others (Please Specify)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Tested on? Specify Version.

  • Windows
  • Linux Fedora
  • Mac
  • Others (State here -> xxx )

@github-actions

Copy link
Copy Markdown

Binder 👈 Launch a binder notebook on branch rabea-al/xircuits/zoom-buttons-playwright-test

@MFA-X-AI MFA-X-AI left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This one seems to fail the playwright tests too.

@rabea-al
rabea-al force-pushed the zoom-buttons-playwright-test branch from 0dcbaec to cd150fa Compare July 18, 2025 08:43

@MFA-X-AI MFA-X-AI left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR! It does look aligned now.
I wasn't expecting the test on zoom, but it does seem to pass the tests. I've discussed this with the team, while the implementation isn't the best since it's manually moving the zoom icon, I guess that's the best we can do for now. In the future if you think that the test can't be done without some hooks, let us know.
This does mean we'll want to have visual regression tests soon too in the future. But for now, I'll merge this.

@MFA-X-AI
MFA-X-AI merged commit 2467ccf into XpressAI:master Jul 24, 2025
@rabea-al
rabea-al deleted the zoom-buttons-playwright-test branch July 25, 2025 12:36
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.

2 participants