Skip to content

Conversation

@microbit-grace
Copy link

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

This PR includes

  • Add timeout for GitHub workflow.
  • 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 and device not selected flow.
  • Radio bridge connection E2E test - happy flow and device not selected flow.
  • Initial testing model page and MakeCode editor test.

Related issue: #554

@github-actions
Copy link

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

@microbit-grace microbit-grace changed the title [WIP - DO NOT MERGE] Connection E2E tests [DO NOT MERGE] Connection E2E tests Jan 24, 2025
@microbit-grace microbit-grace changed the title [DO NOT MERGE] Connection E2E tests [DO NOT MERGE] First-cut new session, connection, and testing model page E2E tests Feb 17, 2025
next?: "copy-pattern";
}

const dialogTypes: {

Choose a reason for hiding this comment

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

I am unsure that the abstraction and looping here is a good idea...

Is there a simpler version of this that's more straight line test code? Does it have unacceptable duplication?

Copy link
Author

Choose a reason for hiding this comment

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

Like this? 5c2100c

@microbit-grace microbit-grace changed the title [DO NOT MERGE] First-cut new session, connection, and testing model page E2E tests First-cut new session, connection, and testing model page E2E tests Feb 18, 2025
@microbit-grace microbit-grace marked this pull request as ready for review February 18, 2025 09:42
@microbit-grace microbit-grace merged commit 8e472c3 into main Feb 19, 2025
1 check passed
@microbit-grace microbit-grace deleted the mock-connections branch February 19, 2025 10:20
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.

3 participants