1package e2e23// Golden screens for the high-contrast theme (WCAG AAA text), on a dark4// and a light terminal, with a selection and an error, and an open menu.56// highContrast is the budget with an error and a selection.7func highContrast(s *session) {8 budget(s)9 s.keys("<up>", "<up>", "<up>", "<up>", "<shift+down>", "<shift+down>")10 s.waitFor("Sum 2158.4")11}1213const highContrastConfig = "theme = high-contrast\n"1415func init() {16 screens = append(screens,17 screen{name: "theme-high-contrast", opts: options{config: highContrastConfig}, setup: highContrast},18 screen{name: "theme-high-contrast-light", opts: options{light: true, config: highContrastConfig}, setup: highContrast},19 screen{name: "theme-high-contrast-menu", opts: options{config: highContrastConfig}, setup: func(s *session) {20 budget(s)21 s.keys("<alt+f>", "<down>", "<down>", "<down>")22 s.waitFor("Save the sheet")23 }},24 )25}