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

test: simplify developing E2E tests #573

Merged
merged 11 commits into from
Oct 8, 2023
Merged

Conversation

amtrack
Copy link
Owner

@amtrack amtrack commented Oct 3, 2023

  • don't run plugin by spawning child processes anymore
  • provide global.bf browserforce instance with already logged in page
  • import and run plugin code
  • add convenience myplugin.run(config) method which runs retrieve/diff/apply
  • use only one browser instance for the whole test run

@amtrack amtrack force-pushed the test/refactor-e2e-tests branch 2 times, most recently from aa629ec to f32e2a1 Compare October 6, 2023 19:30
- don't run plugin by spawning child processes anymore
- provide `global.bf` browserforce instance with already logged in page
- import and run plugin code
- add convenience `myplugin.run(config)` method which runs `retrieve/diff/apply`
- use only one browser instance for the whole test run
@amtrack amtrack changed the title test: refactor E2E tests to use only one browser test: simplify developing E2E tests Oct 8, 2023
@amtrack amtrack marked this pull request as ready for review October 8, 2023 14:36
@amtrack amtrack merged commit 17a2088 into master Oct 8, 2023
1 check passed
@amtrack amtrack deleted the test/refactor-e2e-tests branch October 8, 2023 14:50
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

🎉 This PR is included in version 2.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant