diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 0a6687d7b3d..a0f13e52210 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -293,7 +293,7 @@ npm install file:/~/ionic-vue-router-7.0.1.tgz 3. If a new test is needed, the easiest way is to copy the `basic/` directory from the component's `test/` directory, rename it, and edit the content in both the `index.html` and `e2e.ts` file (see [Screenshot Tests](#screenshot-tests) for more information on this file). 4. The `preview/` directory is used in the documentation as a demo. Only update this test if there is a bug in the test or if the API has a change that hasn't been updated in the test. -See [Ionic's E2E testing guide](../core/src/utils/test/playwright/docs/README.md) for information regarding the tools you can use to test Ionic. +Refer to [Ionic's E2E testing guide](/core/src/utils/test/playwright/docs/README.md) for information regarding the tools you can use to test Ionic. ##### Screenshot Tests diff --git a/docs/angular/testing.md b/docs/angular/testing.md index 4e18351378e..841839a998d 100644 --- a/docs/angular/testing.md +++ b/docs/angular/testing.md @@ -6,13 +6,17 @@ Ionic Framework supports multiple versions of Angular. As a result, we need to v The Angular test app supports syncing your locally built changes for validation. This allows you to test local changes like `core` without having to publish a new version of the package. +> [!TIP] +> In the root directory, run `npm unlink *` to remove any previous links you have built. + 1. Build the `core` directory. 2. Navigate to `packages/angular` and run `npm run sync`. 3. Build `packages/angular` using `npm run build`. -4. [Build the Angular test app](#test-app-build-structure). -5. Navigate to the built test app directory (e.g. `packages/angular/test/build/ng14`). -6. Install dependencies using `npm install`. -7. Sync your local changes using `npm run sync`. +4. Navigate to `packages/angular-server` and run `npm install && npm run build`. +5. [Build the Angular test app](#test-app-build-structure). +6. Navigate to the built test app directory (e.g. `packages/angular/test/build/ng14`). +7. Install dependencies using `npm install`. +8. Sync your local changes using `npm run sync`. From here you can either build the application or start a local dev server. When re-syncing changes, you will need to [wipe or disable the application cache](#application-cache).