1package e2e23// Golden screens for locales: File > Settings > Locale's picker narrowed4// to a search, and a budget shown in German (Germany), with a formula in5// its syntax in the formula bar and a function's hint while typing one.67var localeScreens = []screen{8 {name: "locale-picker", setup: func(s *session) {9 s.keys("<ctrl+k>", "locale", "<enter>")10 s.waitFor("Type a language, country or tag")11 s.keys("de")12 s.waitFor("German (Switzerland)")13 }},14 {name: "locale-de", setup: func(s *session) {15 germanBudget(s)16 s.keys("<up>", "<right>")17 s.waitForBar("B5", "=ROUND(B4*0,19; 2)")18 }},19 {name: "locale-de-signature", setup: func(s *session) {20 germanBudget(s)21 s.keys("Rate", "<tab>", "=ROUND(B5/B4; ")22 s.waitFor("ROUND(value; [places])")23 }},24}2526func init() {27 for _, sc := range localeScreens {28 screens = append(screens, sc)29 sc.name += "-light"30 sc.opts.light = true31 screens = append(screens, sc)32 }33}