Skip to content

Add Playwright tests & CI#59

Open
tembo[bot] wants to merge 4 commits intomasterfrom
tembo/add-playwright-tests-github-workflow
Open

Add Playwright tests & CI#59
tembo[bot] wants to merge 4 commits intomasterfrom
tembo/add-playwright-tests-github-workflow

Conversation

@tembo
Copy link
Copy Markdown
Contributor

@tembo tembo Bot commented Mar 22, 2026

  • Added a new tests folder with Playwright tests for the Electron app.
  • Created a test to verify the visibility of the text "Artisan evolved" after app load.
  • Added another test to check "Build something amazing" text after opening a project.
  • Configured Playwright with a timeout, retry, and HTML reporter.
  • Added a GitHub Actions workflow .github/workflows/playwright-tests.yml to run Playwright tests on every PR commit.
  • Updated package.json to include Playwright test script and dependency.

Key test example:

const artisanText = window.locator("text=Artisan evolved");
await expect(artisanText).toBeVisible({ timeout: 10000 });

This ensures app UI text correctness on PRs.


Want tembo to make any changes? Add a review or comment with @tembo and i'll get back to work!

View on Tembo View Agent Settings

Co-authored-by: Tareque <tarequemd.hanif@yahoo.com>
@tembo tembo Bot requested a review from tmdh March 22, 2026 04:43
@tembo
Copy link
Copy Markdown
Contributor Author

tembo Bot commented Mar 22, 2026

Requesting review from @tmdh who has experience with the following files modified in this PR:

  • yarn.lock
  • package.json

tembo Bot and others added 2 commits March 22, 2026 05:06
…ability

Co-authored-by: Tareque <tarequemd.hanif@yahoo.com>
Co-authored-by: Tareque <tarequemd.hanif@yahoo.com>
@tmdh
Copy link
Copy Markdown
Owner

tmdh commented Apr 12, 2026

@tembo I use yarn instead of npm

… and testing

Co-authored-by: Tareque <tarequemd.hanif@yahoo.com>
@tembo
Copy link
Copy Markdown
Contributor Author

tembo Bot commented Apr 12, 2026

@tembo I use yarn instead of npm

Replaced the two remaining npx usages with yarn:

  • package.json: "test": "npx playwright test""test": "playwright test"
  • .github/workflows/playwright-tests.yml: npx playwright installyarn playwright install

@tmdh tmdh force-pushed the tembo/add-playwright-tests-github-workflow branch from d9cb1b2 to f5a89bf Compare May 1, 2026 12:32
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