Puppeteer headless test have slightly different result depending on how nixos kvm test is triggered. #71181
Labels
0.kind: bug
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
6.topic: testing
Tooling for automated testing of packages and modules
At this point I'm not expecting a solution as is quite specific, but if you have any ideas, would be happy to hear.
I'm bringing up a nixos-test using
testing.makeTest
fromnixpkgs/nixos/lib/testing.nix
, which runschromium
through a custom-packagedpuppeteer
to exercise a webpage in the same vm. It is all in headless mode, without X.If I start up the test using
nix-build -A theTest
, there's a click expectation in the headless browser test that fails.If I start up the test using
then the click expectation succeeds.
I'm somewhat puzzled - the two ways of triggering should (?) result in identical
qemu
options, but the result is consistent. Maybe there is some timing issue? But how can that be so consistent. Or some graphics setup issue? But the headless browser doesn't use graphics even (and the vms run in headless mode in both cases).The text was updated successfully, but these errors were encountered: