Skip to content

Specs for proposal creation and additional homepage specs; spec helpers - #1076

Merged
yattias merged 3 commits into
mainfrom
playwright2
Sep 2, 2026
Merged

Specs for proposal creation and additional homepage specs; spec helpers#1076
yattias merged 3 commits into
mainfrom
playwright2

Conversation

@yattias

@yattias yattias commented Sep 2, 2026

Copy link
Copy Markdown
Member

No description provided.

@yattias
yattias requested a review from a team as a code owner September 2, 2026 18:24
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web Ready Ready Preview Sep 2, 2026 6:26pm UTC

Request Review

@yattias
yattias merged commit b7f55b7 into main Sep 2, 2026
1 of 2 checks passed
@yattias
yattias deleted the playwright2 branch September 2, 2026 18:25
@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

@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: 4dbd54023e

鈩癸笍 About Codex in GitHub

Codex has been enabled to automatically 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 馃憤.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread smoke/helpers/fixtures.ts
* request-level check would notice.
*/
export function grantId(): string {
return requiredEnv('SMOKE_GRANT_ID');

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Supply the grant fixture ID to the smoke workflow

The new proposal spec calls grantId(), but the Run smoke tests step in .github/workflows/smoke.yml only exports SMOKE_BASE_URL, SMOKE_USER_EMAIL, and SMOKE_USER_PASSWORD. On a fresh GitHub runner there is no .env.development, so requiredEnv('SMOKE_GRANT_ID') throws before the proposal flow starts and makes every pull-request smoke run fail. Add the fixture ID to the workflow environment from an appropriate repository variable or secret.

Useful? React with 馃憤聽/ 馃憥.

Comment thread smoke/proposal.spec.ts
new URL(response.url()).pathname === '/api/researchhubpost/' &&
response.request().method() === 'POST'
);
await page.getByTestId('confirm-publish-submit').click();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Avoid publishing permanent proposals from every PR run

When the pull-request workflow runs against its configured shared environment, this click sends the real publication POST, and the test has no teardown; with the configured retry, one PR can leave multiple permanent proposals and grant applications behind. This continuously pollutes shared feeds and fixture state, and a manual run pointed at production would create user-visible test content there as well. Run this flow in an isolated disposable environment or provide reliable cleanup rather than publishing unbounded records.

Useful? React with 馃憤聽/ 馃憥.

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