Skip to content

Functional tests for examples #227

@mmacai

Description

@mmacai

Summary and context

Right now we have to manually check every example when new release or any change happens. Which is ... quite annoying and possibly error-prone. Therefore, it would be great to have an automated way how to do it and ideally also part of the Travis pipeline.

To keep our codebase "simple" we may use https://www.cypress.io/, since we are already using JavaScript.

What should be done:

  • cover simple HTML examples
  • cover channels example
  • add missing simple HTML example to showcase how to do SSE/WS connection and subscription within the same HTTP call
  • make it part of the Travis pipeline

Additionally, every new example should automatically include also test case for this.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions