()
| 67 | } |
| 68 | |
| 69 | func (js Js) waitOn() error { |
| 70 | return js.runYarnCommand("wait-on", []string{ |
| 71 | fmt.Sprintf("--timeout=%d", 120000), |
| 72 | fmt.Sprintf("--interval=%d", 1000), |
| 73 | fmt.Sprintf("%s/oauth", js.frontendURL()), |
| 74 | }...) |
| 75 | } |
| 76 | |
| 77 | func (js Js) runCypress(command string, args ...string) error { |
| 78 | mg.Deps(js.waitOn) |
nothing calls this directly
no test coverage detected