lol

nixos/tests/chromium: Re-enable the chrome://gpu test for M107

I need to fix copying the chrome://gpu content to the clipboard (Ctrl+a doesn't
work anymore so we have to click the button) but we can at least test the font
rendering for now.

+6 -5
+6 -5
nixos/tests/chromium.nix
··· 166 166 clipboard = machine.succeed( 167 167 ru("${pkgs.xclip}/bin/xclip -o") 168 168 ) 169 + if url == "chrome://gpu": 170 + clipboard = "" # TODO: We cannot copy the text via Ctrl+a 169 171 print(f"{description} window content:\n{clipboard}") 170 172 with machine.nested(description): 171 173 yield clipboard ··· 246 248 machine.screenshot("after_copy_from_chromium") 247 249 248 250 249 - if major_version < "107": 250 - # TODO: Fix the chrome://gpu test for M107+ 251 - with test_new_win("gpu_info", "chrome://gpu", "chrome://gpu"): 252 - # To check the text rendering (catches regressions like #131074): 253 - machine.wait_for_text("Graphics Feature Status") 251 + with test_new_win("gpu_info", "chrome://gpu", "GPU Internals"): 252 + # To check the text rendering (catches regressions like #131074): 253 + machine.wait_for_text("Graphics Feature Status") 254 + # TODO: Fix copying all of the text to the clipboard 254 255 255 256 256 257 with test_new_win("version_info", "chrome://version", "About Version") as clipboard: