Skip to content

Commit

Permalink
chore: disable nx caching and add web extension docs (#30449)
Browse files Browse the repository at this point in the history
* chore: do not cache the nx functions as it is too difficult to deterministically bust the cache [run ci]

* chore: update extension docs for debugging [run ci]
  • Loading branch information
AtofStryker authored Oct 23, 2024
1 parent cfed01b commit c8439b2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/cache-version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Bump this version to force CI to re-create the cache from scratch.

10-08-24-webdriver2
10-23-24
9 changes: 5 additions & 4 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@
"default",
"{workspaceRoot}/.eslintrc.js"
],
"cache": true
"cache": false
},
"check-ts": {
"inputs": [
"default",
"sharedGlobals"
],
"cache": true
"cache": false
},
"build": {
"dependsOn": [
"^build"
],
"cache": true
"cache": false
},
"build-prod": {
"dependsOn": [
"^build-prod"
]
],
"cache": false
}
},
"namedInputs": {
Expand Down
18 changes: 12 additions & 6 deletions packages/extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,19 @@ yarn workspace @packages/extension test-debug
### In Chrome

1. Open Chrome
2. Go into Extensions
3. Check **Developer Mode**
4. Click **Load unpacked extension...**
5. Choose **packages/extension/dist** directory
6. Click **background page** to debug `background.js`
2. Go into Extensions (`chrome://extensions`)
3. Check **Developer Mode** (top right of screen)
4. Click **Load unpacked extension...** (top left of screen)
5. Choose **packages/extension/dist** directory (v2)
6. Click **background page** to debug `background.js` (inspect views `background page`)
7. Click **Reload (⌘R)** to pull in changes to `manifest.json`

### In Firefox

To be written...
1. Launch Firefox via `cypress open`.
2. Once Firefox is open, open an new tab and navigate to `about:debugging`.
3. Click the `This Firefox` navigation item on the left hand navigation pane and locate the `Cypress` extension under `Temporary Extensions`.
4. Click `inspect`. A console window should now appear in a separate window.
5. Close the `about:debugging` tab.
6. In the newly spawned console window, you should be able to see `background.js` in the `Debugger` tab.
7. Set breakpoints as needed to inspect what code you are trying to debug. Happy debugging!

5 comments on commit c8439b2

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c8439b2 Oct 23, 2024

Choose a reason for hiding this comment

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

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.15.1/linux-x64/develop-c8439b28568f2b019436a6c5870fe650902c3933/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c8439b2 Oct 23, 2024

Choose a reason for hiding this comment

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

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.15.1/linux-arm64/develop-c8439b28568f2b019436a6c5870fe650902c3933/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c8439b2 Oct 23, 2024

Choose a reason for hiding this comment

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

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.15.1/darwin-arm64/develop-c8439b28568f2b019436a6c5870fe650902c3933/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c8439b2 Oct 23, 2024

Choose a reason for hiding this comment

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

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.15.1/win32-x64/develop-c8439b28568f2b019436a6c5870fe650902c3933/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c8439b2 Oct 23, 2024

Choose a reason for hiding this comment

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

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.15.1/darwin-x64/develop-c8439b28568f2b019436a6c5870fe650902c3933/cypress.tgz

Please sign in to comment.