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

refactor: don't default chdir to package_name() in _cypress_test_macro [BREAKING] #84

Merged
merged 1 commit into from
May 14, 2024

Conversation

gregmagolan
Copy link
Member

@gregmagolan gregmagolan commented May 14, 2024

Related to Bazel Slack thread: https://bazelbuild.slack.com/archives/C04281DTLH0/p1714238140731229?thread_ts=1713995693.705169&cid=C04281DTLH0


Changes are visible to end-users: yes

  • Searched for relevant documentation and updated as needed: yes
  • Breaking change (forces users to change their own code or config): yes
  • Suggested release notes appear below: yes

BREAKING CHANGES

cypress_test and cypress_module_test no longer default chdir to package_name() under the hood. This is to align rules_cypress with the rest of the rules_js rulesets. Users must now set chdir explicitly on these rules.

Test plan

  • Covered by existing test cases

@gregmagolan gregmagolan requested review from mrmeku and jbedard May 14, 2024 16:47
@gregmagolan gregmagolan changed the title refactor: don't default chdir to package_name() in _cypress_test_macro refactor: don't default chdir to package_name() in _cypress_test_macro [BREAKING] May 14, 2024
@gregmagolan gregmagolan force-pushed the dont_default_chdir branch 2 times, most recently from 6749552 to f7ae7e8 Compare May 14, 2024 17:01
Copy link
Contributor

@mrmeku mrmeku left a comment

Choose a reason for hiding this comment

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

Looks great to me!

@gregmagolan gregmagolan force-pushed the dont_default_chdir branch 6 times, most recently from 5e7fa10 to fcabc78 Compare May 14, 2024 17:14
@gregmagolan gregmagolan force-pushed the dont_default_chdir branch from fcabc78 to 72cc7c1 Compare May 14, 2024 17:16
@gregmagolan gregmagolan merged commit 96ee05d into main May 14, 2024
9 checks passed
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