Skip to content

Commit 7331f37

Browse files
authored
Update bug report inline docs (#12803)
Fixes #12795
1 parent c6d651f commit 7331f37

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

integration/bug-report-test.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ let fixture: Fixture;
1212
let appFixture: AppFixture;
1313

1414
////////////////////////////////////////////////////////////////////////////////
15-
// 💿 👋 Hola! It's me, Dora the Remix Disc, I'm here to help you write a great
16-
// bug report pull request.
15+
// 👋 Hola! I'm here to help you write a great bug report pull request.
1716
//
1817
// You don't need to fix the bug, this is just to report one.
1918
//
@@ -24,23 +23,30 @@ let appFixture: AppFixture;
2423
// commit to this pull request, and your now-succeeding test will have to be moved
2524
// to the appropriate file.
2625
//
27-
// First, make sure to install dependencies and build Remix. From the root of
26+
// First, make sure to install dependencies and build React Router. From the root of
2827
// the project, run this:
2928
//
3029
// ```
3130
// pnpm install && pnpm build
3231
// ```
32+
//
33+
// If you have never installed playwright on your system before, you may also need
34+
// to install a browser engine:
35+
//
36+
// ```
37+
// pnpm exec playwright install chromium
38+
// ```
3339
//
3440
// Now try running this test:
3541
//
3642
// ```
37-
// pnpm bug-report-test
43+
// pnpm test:integration bug-report --project chromium
3844
// ```
3945
//
4046
// You can add `--watch` to the end to have it re-run on file changes:
4147
//
4248
// ```
43-
// pnpm bug-report-test --watch
49+
// pnpm test:integration bug-report --project chromium --watch
4450
// ```
4551
////////////////////////////////////////////////////////////////////////////////
4652

@@ -94,7 +100,7 @@ test.afterAll(() => {
94100

95101
////////////////////////////////////////////////////////////////////////////////
96102
// 💿 Almost done, now write your failing test case(s) down here Make sure to
97-
// add a good description for what you expect Remix to do 👇🏽
103+
// add a good description for what you expect React Router to do 👇🏽
98104
////////////////////////////////////////////////////////////////////////////////
99105

100106
test("[description of what you expect it to do]", async ({ page }) => {
@@ -116,5 +122,6 @@ test("[description of what you expect it to do]", async ({ page }) => {
116122
});
117123

118124
////////////////////////////////////////////////////////////////////////////////
119-
// 💿 Finally, push your changes to your fork of Remix and open a pull request!
125+
// 💿 Finally, push your changes to your fork of React Router
126+
// and open a pull request!
120127
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)