Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

bazel: decouple web application bundle from integration tests modules#51560

Merged
valerybugakov merged 3 commits into
mainfrom
vb/bazel-web-mocks
May 10, 2023
Merged

bazel: decouple web application bundle from integration tests modules#51560
valerybugakov merged 3 commits into
mainfrom
vb/bazel-web-mocks

Conversation

@valerybugakov

@valerybugakov valerybugakov commented May 8, 2023

Copy link
Copy Markdown
Member

Context

Make the web application bundle independent from the //client/web/src/integration and //client/shared/src/testing. It significantly slows down the Percy changes I iterate on locally.

Previously they were connected via multiple mock files and the shared isHotReloadEnabled variable. The variable is redundant now, and the mock files are correctly moved to the web_tests target out of web_lib.

Test plan

CI

@valerybugakov valerybugakov self-assigned this May 8, 2023
@cla-bot cla-bot Bot added the cla-signed label May 8, 2023
@github-actions github-actions Bot added the team/code-exploration Issues owned by the Code Exploration team label May 8, 2023
@sourcegraph-bot

sourcegraph-bot commented May 8, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff a990dd8...b549197.

Notify File(s)
@fkling client/shared/src/search/integration/index.ts
@limitedmage client/web/src/integration/code-monitoring.test.ts
client/web/src/integration/search-contexts.test.ts
client/web/src/integration/search.test.ts

@sourcegraph-bot

sourcegraph-bot commented May 8, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in OWNERS files for diff a990dd8...b549197.

No notifications.

@sourcegraph-bot

sourcegraph-bot commented May 8, 2023

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@valerybugakov valerybugakov enabled auto-merge (squash) May 10, 2023 06:23
@valerybugakov valerybugakov merged commit e5a666f into main May 10, 2023
@valerybugakov valerybugakov deleted the vb/bazel-web-mocks branch May 10, 2023 06:47
BolajiOlajide pushed a commit that referenced this pull request May 10, 2023
…#51560)

Make the web application bundle independent from the
`//client/web/src/integration` and `//client/shared/src/testing`. It
significantly slows down the Percy changes I iterate on locally.

Previously they were connected via multiple mock files and the shared
`isHotReloadEnabled` variable. The variable is redundant now, and the
mock files are correctly moved to the `web_tests` target out of
`web_lib`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bazel cla-signed team/code-exploration Issues owned by the Code Exploration team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants