PrivateBin/PrivateBin

End-to-end testing with PHP backend and JS Frontend

Offen

#1.335 geöffnet am 14.05.2024

 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (627 Forks)batch import
code qualityenhancementhelp wantedjavascript

Repository-Metriken

Stars
 (4.616 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The problem

We have no e2e tests yet in our project, but in an aftermath of a release, we think we should probably add something. These tests should just automatically spin up a browser and test the most common usage scenarios making sure everything works in combination.

The solution

  • it must work offline (possibly in a container or whatever)
  • and be fully automated
  • must run automatically in GitHub Actions
  • for a start should cover the most common scenarios [which?], later more could be added

Ideas would be:

  • cypress?

Alternatives

Additional context

This issue has been discovered as a lessons learned from previous releases, which often had bugs being introduced. To have more confidence on code changes etc.

The important bit: Dear reader, if you feel like this is a thing you could contribute knowledge or actually doing it, feel free to comment here and help! This will greatly help the PrivateBin project.

Contributor Guide