summary refs log tree commit diff
path: root/nixos/tests/chromium.nix
Commit message (Collapse)AuthorAge
* xdotool: 2.20110530.1 -> 3.20150503.1Gabriel Ebner2015-09-12
|
* GrmblEelco Dolstra2015-08-25
| | | | http://hydra.nixos.org/build/24983009
* chromium: Fix test on i686-linuxEelco Dolstra2015-08-24
| | | | http://hydra.nixos.org/build/24982682
* Give the chromium test more memoryEelco Dolstra2015-08-20
| | | | | | Hopefully fixes random failures like http://hydra.nixos.org/build/24861987/nixlog/446
* all tests: added meta.maintainers sectionJoachim Schiele2015-07-12
|
* nixos/tests/chromium: Improve sandbox checking.aszlig2015-07-04
| | | | | | | | We no longer need have "SUID sandbox" enabled in the chrome://sandbox status page and we now also check for "You are adequately sandboxed." to be absolutely sure that we're running with proper sandboxing. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/chromium: Detect popup using OCR.aszlig2015-05-22
| | | | | | | | | | | | | This will make the test a lot more reliable, because we no longer need to press ESC multiple times hoping that it will close the popup. Unfortunately in order to run this test I needed to locally revert the gyp update from a305e6855dd8723683c77635f45ae28411c8f36c. With the old gyp version however the test runs fine and it's able to properly detect the popup. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* tests/chromium: Work around popup close flakiness.aszlig2015-04-02
| | | | | | | | | | It's not nice to send the escape key over and over again just to ensure the popup is closed, because even *if* it fails to close the popup 4 times in a row it's just very unlikely that it will be closed. But in order to make really sure, we might need to do a screenshot and detect visual changes. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/chromium: Check new userns sandbox.aszlig2015-02-22
| | | | | | | | | | | | Since Chromium version 42, we have a new user namespaces sandbox in the upstream project. It's more integrated so the chrome://sandbox page reports it as "Namespace Sandbox" instead of SUID sandbox, which we were re-using (or abusing?) in our patch. So if either "SUID Sandbox" or "Namespace Sandbox" reports with "Yes", it's fine on our side. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/chromium: Increase VM memory size.aszlig2015-01-26
| | | | | | | | Chromium is quite memory hungry and we frequently get random crashes in the tests, so let's set it to 1024 MB because new releases of Chromium most probably won't consume *less* memory. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos/tests/chromium: Allow to override packages.aszlig2014-11-19
| | | | | | | | Of course, this could be done via packageOverrides, but this is more explicit and makes it possible to run the tests with various Chromium overrides. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos: Add rudimentary VM tests for Chromium.aszlig2014-11-18
Currently, the test is only for testing the user namespace sandbox and even that isn't very representative, because we're running the tests as root. But apart from that, we should have functionality for opening/closing windows and the main goal here is to get them as deterministic as possible, because Chromium usually isn't very nice to chained xdotool keystrokes. And of course, the most important "test" we have here: We know at least whether Chromium works _at_all_. Signed-off-by: aszlig <aszlig@redmoonstudios.org>