Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/github-pr-status.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ test.describe('GitHub PR Status Tests', () => {
expect(prData.title).toContain(headBranch);
expect(prData.state).toBe('open');

// Step 5: Wait for the PR status to be automatically updated and verify it shows the PR button
// Step 5: Wait for the PR status to be automatically updated and verify it shows the PR link
// The PR status is now updated automatically, no refresh button needed
// Wait up to 25 seconds for the PR button to appear with the new format "PR #<number>"
await expect(page.getByRole('button', { name: /^PR #\d+$/ })).toBeVisible({ timeout: 25000 });
// Wait up to 25 seconds for the PR link to appear with the format "PR #<number> opened"
await expect(page.getByRole('link', { name: /PR #\d+ opened/ })).toBeVisible({ timeout: 25000 });

// Step 6: Close the PR via UI
// Click on Review
Expand Down