-
-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blog: add "QOwnNotes UI End2End Tests with the help of NixOS" article
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
webpage/src/blog/2023-06-17-QOwnNotes-UI-End2End-Tests-with-the-help-of-NixOS.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: QOwnNotes UI End2End Tests with the help of NixOS | ||
description: There are now basic End2End tests for QOwnNotes with the help of the NixOS Test System. | ||
image: /assets/img/end2end-test.png | ||
date: 2023-06-17 | ||
order: 20230617000000 | ||
--- | ||
|
||
# QOwnNotes UI End2End Tests with the help of NixOS | ||
|
||
<BlogDate v-bind:fm="$frontmatter" /> | ||
|
||
There are now basic End2End tests for QOwnNotes with the help of the [NixOS](https://nixos.org/) Test System. | ||
|
||
The tests will be run automatically when the QOwnNotes packages is updated in the [Nix Store](https://search.nixos.org/). | ||
|
||
You can look or contribute to the tests at [qownnotes.nix](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/qownnotes.nix). | ||
|
||
With the [nixpkgs repository](https://github.com/NixOS/nixpkgs/) checked out you can run | ||
the tests easily isolated in a QEMO VM with the help of [nix](https://nixos.org): | ||
|
||
```bash | ||
nix-build . -A nixosTests.qownnotes | ||
``` | ||
|
||
Text is read via OCR from the screen and tested for validity. | ||
|
||
![end2end-test](./media/end2end-test.png) | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.