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

E2E Testing Framework #485

Merged
merged 20 commits into from
Jan 12, 2024
Merged

E2E Testing Framework #485

merged 20 commits into from
Jan 12, 2024

Conversation

joepavitt
Copy link
Collaborator

@joepavitt joepavitt commented Jan 11, 2024

Description

  • Introduces Cypress E2E Tests for Dashboard 2.0
  • Uses a pattern to add a HTTP Endpoint into the Node-RED flows that exposes a flows context variable. Within our test flows, we can write to flow context and consequently test their values in the test by calling the REST API.
  • Adds tests for:
    • ui-button
    • ui-text
    • ui-switch
    • ui-control
  • Adds GH Workflow to run the E2E tests

@joepavitt joepavitt merged commit 835824e into main Jan 12, 2024
2 checks passed
@joepavitt joepavitt deleted the e2e-tests branch January 12, 2024 14:04
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