Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix kitchensink windows #30909

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Jan 17, 2025

  • Closes N/A

Additional details

fixes the issues with wait-on in the windows-test-binary-against-kitchensink-chrome. wait-on isn't actually installed by the kitchen sink repo, so we need to install it before invoking it.

we also only want to call it if we pass in something to the wait-on param. Since wait-on causes issues in windows, this step will now bypass

Steps to test

How has the user experience changed?

PR Tasks

@AtofStryker AtofStryker marked this pull request as ready for review January 17, 2025 19:17
Copy link

cypress bot commented Jan 17, 2025

cypress    Run #60039

Run Properties:  status check passed Passed #60039  •  git commit 6eda48f35e: chore: fix kitchensink windows
Project cypress
Branch Review chore/fix_windows_kitchensink
Run status status check passed Passed #60039
Run duration 16m 04s
Commit git commit 6eda48f35e: chore: fix kitchensink windows
Committer AtofStryker
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 28
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 762
View all changes introduced in this branch ↗︎
UI Coverage  63.64%
  Untested elements 30  
  Tested elements 56  
Accessibility  96.19%
  Failed rules  0 critical   4 serious   1 moderate   0 minor
  Failed elements 196  

@AtofStryker AtofStryker force-pushed the chore/fix_windows_kitchensink branch 3 times, most recently from 50b0525 to adea4eb Compare January 22, 2025 02:30
@@ -2769,7 +2779,6 @@ jobs:
- test-binary-against-rwa:
repo: cypress-realworld-app
browser: chrome
wait-on: http://localhost:3000
Copy link
Contributor Author

Choose a reason for hiding this comment

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

wasn't actually doing anything as wait-on wasn't defined

@AtofStryker AtofStryker force-pushed the chore/fix_windows_kitchensink branch from adea4eb to 7b8e6d3 Compare January 22, 2025 15:21
@@ -908,10 +908,6 @@ commands:
description: Pull request number to check out before installing and testing
type: integer
default: 0
wait-on:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

param defined but isn't actually used

@AtofStryker AtofStryker self-assigned this Jan 22, 2025
@jennifer-shehane jennifer-shehane self-requested a review January 22, 2025 17:23
Copy link
Member

@jennifer-shehane jennifer-shehane left a comment

Choose a reason for hiding this comment

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

@AtofStryker This is failing saying npm is not there. I don't totally understand why the npx wait-on command isn't sufficient.

@AtofStryker
Copy link
Contributor Author

AtofStryker commented Jan 22, 2025

@AtofStryker This is failing saying npm is not there. I don't totally understand why the npx wait-on command isn't sufficient.

something else is going on with this job. Going to investigate further

@AtofStryker AtofStryker force-pushed the chore/fix_windows_kitchensink branch 2 times, most recently from 3fa8097 to cc20545 Compare January 24, 2025 14:12
@AtofStryker AtofStryker force-pushed the chore/fix_windows_kitchensink branch from 2694b31 to 6eda48f Compare January 24, 2025 19:34
@AtofStryker
Copy link
Contributor Author

@jennifer-shehane this should now be working. ultimately if we don't pass anything to the wait-on variable, we shouldn't call the wait-on binary.

@AtofStryker AtofStryker merged commit e06c846 into develop Jan 24, 2025
107 of 111 checks passed
@AtofStryker AtofStryker deleted the chore/fix_windows_kitchensink branch January 24, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants