Skip to content

Conversation

@swadeley
Copy link
Member

@swadeley swadeley commented Nov 24, 2025

Summary

To enable tokens to be refreshed at test start.

#testwith content-services/content-sources-frontend#769

Testing steps

tests pass

@swadeley swadeley force-pushed the swadeley/refreash_tokens_every_ten_minutes branch from bd5131d to 5547d5a Compare November 24, 2025 12:12
@swadeley swadeley marked this pull request as ready for review November 24, 2025 13:25
@swadeley
Copy link
Member Author

Hi, I need to move the _playwright-tests/helpers/tokenHelpers.ts from frontend to the backend test-utils .

@swadeley swadeley force-pushed the swadeley/refreash_tokens_every_ten_minutes branch from 5547d5a to 13eea96 Compare November 27, 2025 13:52
@swadeley swadeley force-pushed the swadeley/refreash_tokens_every_ten_minutes branch from 13eea96 to 707f954 Compare November 27, 2025 14:55
@swadeley swadeley marked this pull request as draft November 28, 2025 11:43
@swadeley swadeley force-pushed the swadeley/refreash_tokens_every_ten_minutes branch from a1013d2 to 70e42ab Compare December 3, 2025 12:30
@swadeley
Copy link
Member Author

swadeley commented Dec 4, 2025

/retest

@swadeley swadeley force-pushed the swadeley/refreash_tokens_every_ten_minutes branch from 70e42ab to 1aad2f6 Compare December 5, 2025 12:14
  To enable tokens to be refreshed at test start.
  Provides fileNameToEnvVar to process user env map.
@swadeley swadeley force-pushed the swadeley/refreash_tokens_every_ten_minutes branch 2 times, most recently from a8f7d48 to 82d6b9a Compare December 9, 2025 11:42
- Update getFrontendRepo.sh to checkout backend PR branch in submodule
- Pass BACKEND_PR_BRANCH and BACKEND_PR_REPO env vars from workflow
- Fix ESLint error: remove unused expect import in poll.ts

When using #testwith to test frontend PRs against backend PRs,
the CI now updates the backend submodule in the cloned frontend repo
to point to the current backend PR branch. This ensures the frontend
can access new exports (like fileNameToEnvVar) from the backend's
test-utils package.
@swadeley swadeley force-pushed the swadeley/refreash_tokens_every_ten_minutes branch from 82d6b9a to dee025a Compare December 9, 2025 12:24
@swadeley swadeley marked this pull request as ready for review December 9, 2025 14:13
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