Regression test contest active window
This commit is contained in:
parent
f73226b7a5
commit
d703c7cc01
2 changed files with 8 additions and 5 deletions
|
@ -42,6 +42,7 @@ services:
|
|||
- "4444:4444"
|
||||
- "5900:5900"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /dev/shm:/dev/shm
|
||||
|
||||
volumes:
|
||||
|
|
|
@ -317,12 +317,14 @@ func (t *testSuite) TestContestActiveWindow() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
err = findElement("#contest_date").Click()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
err = findElement("#contest_description").SendKeys("Gara per la categoria JUNIOR")
|
||||
|
||||
err = findElement(".datetime-edit-field").SendKeys("04032020")
|
||||
err = findElement("#contest_date").SendKeys("2020-04-03")
|
||||
err = findElement("#contest_start_time").SendKeys("14:00")
|
||||
err = findElement("#contest_end_time").SendKeys("15:00")
|
||||
err = findElement("#contest_duration").SendKeys("45")
|
||||
|
||||
err = findElement(".btn-primary").Click()
|
||||
|
||||
t.True(true)
|
||||
|
||||
|
|
Loading…
Reference in a new issue