menubar e2e tests and scripting to make it function