Skip to content

Commit

Permalink
chore: fix kitchensink windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Jan 22, 2025
1 parent 5f831f7 commit adea4eb
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mainBuildFilters: &mainBuildFilters
- 'update-v8-snapshot-cache-on-develop'
- 'chore/update_vue_test_utils'
- 'publish-binary'
- 'cacie/29590/document-domain-subdomains'
- 'chore/fix_windows_kitchensink'

# usually we don't build Mac app - it takes a long time
# but sometimes we want to really confirm we are doing the right thing
Expand Down Expand Up @@ -80,7 +80,7 @@ windowsWorkflowFilters: &windows-workflow-filters
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'ryanm/chore/electron-33-upgrade', << pipeline.git.branch >> ]
- equal: [ 'cacie/fix-hook-test-stack-analysis', << pipeline.git.branch >> ]
- equal: [ 'chore/fix_windows_kitchensink', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand Down Expand Up @@ -156,7 +156,7 @@ commands:
name: Set environment variable to determine whether or not to persist artifacts
command: |
echo "Setting SHOULD_PERSIST_ARTIFACTS variable"
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "chore/update_vue_test_utils" && "$CIRCLE_BRANCH" != cacie/fix-hook-test-stack-analysis ]]; then
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "chore/update_vue_test_utils" && "$CIRCLE_BRANCH" != chore/fix_windows_kitchensink ]]; then
export SHOULD_PERSIST_ARTIFACTS=true
fi' >> "$BASH_ENV"
# You must run `setup_should_persist_artifacts` command and be using bash before running this command
Expand Down Expand Up @@ -951,6 +951,12 @@ commands:
working_directory: /tmp/<<parameters.repo>>
command: <<parameters.server-start-command>>
background: true
- run:
condition: <<parameters.wait-on>>
name: "Waiting on server to boot: <<parameters.wait-on>>"
command: |
npm i -g wait-on
npx wait-on <<parameters.wait-on>> --timeout 120000
- when:
condition: <<parameters.folder>>
steps:
Expand Down Expand Up @@ -1117,6 +1123,7 @@ commands:
condition: <<parameters.wait-on>>
name: "Waiting on server to boot: <<parameters.wait-on>>"
command: |
npm i -g wait-on
npx wait-on <<parameters.wait-on>> --timeout 120000
- windows-install-chrome:
browser: <<parameters.browser>>
Expand Down Expand Up @@ -2715,20 +2722,23 @@ jobs:
- test-binary-against-repo:
repo: cypress-example-kitchensink
browser: electron
wait-on: http://localhost:8080

test-binary-against-kitchensink-firefox:
<<: *defaults
steps:
- test-binary-against-repo:
repo: cypress-example-kitchensink
browser: firefox
wait-on: http://localhost:8080

test-binary-against-kitchensink-chrome:
<<: *defaults
steps:
- test-binary-against-repo:
repo: cypress-example-kitchensink
browser: chrome
wait-on: http://localhost:8080

test-binary-against-todomvc-firefox:
<<: *defaults
Expand Down Expand Up @@ -2769,7 +2779,6 @@ jobs:
- test-binary-against-rwa:
repo: cypress-realworld-app
browser: chrome
wait-on: http://localhost:3000

test-binary-as-specific-user:
<<: *defaults
Expand Down

2 comments on commit adea4eb

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on adea4eb Jan 22, 2025

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/14.0.1/linux-x64/chore/fix_windows_kitchensink-adea4eb51d9d8bcd22d09f0397a9a4e4a7ef2271/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on adea4eb Jan 22, 2025

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/14.0.1/win32-x64/chore/fix_windows_kitchensink-adea4eb51d9d8bcd22d09f0397a9a4e4a7ef2271/cypress.tgz

Please sign in to comment.