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

[DO NOT MERGE] Connection E2E tests #583

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft

Conversation

microbit-grace
Copy link

@microbit-grace microbit-grace commented Jan 23, 2025

This PR includes

  • New session/page tests.
  • Upgraded microbit-connection lib to latest.
  • Sets up cookies for triggering mocking of devices for E2E.
  • Mock of usb, bluetooth, and radio bridge connection
  • Bluetooth connection E2E test - happy flow, not select device for flashing, not select device for bluetooth.
  • Radio bridge connection E2E test - happy flow, not select device for flashing.

Does not include E2E tests for

  • Reconnection and reconnection failure flows
  • Bluetooth/Radio bridge connection fail flows
  • V1
  • Unsupported due to lack of WebBluetooth and WebUSB

Copy link

Preview build will be at
https://review-createai.microbit.org/mock-connections/

src/App.tsx Outdated Show resolved Hide resolved
@microbit-grace microbit-grace changed the title [WIP - DO NOT MERGE] Connection E2E tests [DO NOT MERGE] Connection E2E tests Jan 24, 2025
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.

1 participant