Completed second iteration of regression test
This commit is contained in:
parent
4b51b10041
commit
1092435c7b
3 changed files with 10 additions and 4 deletions
|
@ -1,11 +1,13 @@
|
||||||
|
ffmpeg_nolog = -hide_banner -loglevel panic
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
test:
|
test:
|
||||||
docker exec -d oef_regression_test_selenium_1 ffmpeg -y -video_size 1360x1020 -framerate 15 -f x11grab -i :99.0 /tmp/recording.mp4
|
docker exec -d oef_regression_test_selenium_1 ffmpeg -y $(ffmpeg_nolog) -video_size 1360x1020 -framerate 15 -f x11grab -i :99.0 /tmp/recording.mp4
|
||||||
go test
|
go test
|
||||||
docker exec oef_regression_test_selenium_1 killall -s SIGINT ffmpeg
|
docker exec oef_regression_test_selenium_1 killall -s SIGINT ffmpeg
|
||||||
docker exec oef_regression_test_selenium_1 ffmpeg -y -i /tmp/recording.mp4 -filter:v "setpts=5*PTS" /tmp/recording_slow.mp4
|
docker exec oef_regression_test_selenium_1 ffmpeg -y $(ffmpeg_nolog) -i /tmp/recording.mp4 -filter:v "setpts=5*PTS" /tmp/recording_slow.mp4
|
||||||
docker exec oef_regression_test_selenium_1 MP4Box -isma -inter 500 -out /tmp/recording_cleaned_up.mp4 /tmp/recording_slow.mp4
|
docker exec oef_regression_test_selenium_1 MP4Box -isma -inter 500 -out /tmp/recording_cleaned_up.mp4 /tmp/recording_slow.mp4
|
||||||
docker cp oef_regression_test_selenium_1:/tmp/recording_cleaned_up.mp4 recordings/recording.mp4
|
docker cp oef_regression_test_selenium_1:/tmp/recording_cleaned_up.mp4 recordings/recording.mp4
|
||||||
|
|
||||||
|
|
|
@ -217,8 +217,12 @@ func (t *testSuite) TestSchoolSubscription() {
|
||||||
Category: &orm.Category{Name: "Senior"},
|
Category: &orm.Category{Name: "Senior"},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
clickPrimaryButton()
|
||||||
|
|
||||||
alert, err = findElement(".alert").Text()
|
alert, err = findElement(".alert").Text()
|
||||||
t.Nil(err)
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
t.Contain("codice fiscale è già presente", alert)
|
t.Contain("codice fiscale è già presente", alert)
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
arrivo" si prega di controllare la cartella "Spam".
|
arrivo" si prega di controllare la cartella "Spam".
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Le credenziali generate sono:
|
Le credenziali della scuola sono comunque riportate di seguito. Si prega di prenderne nota.
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Username</dt><dd class="text-monospace">{{.Data.Username}}</dd>
|
<dt>Username</dt><dd class="text-monospace">{{.Data.Username}}</dd>
|
||||||
<dt>Password</dt><dd class="text-monospace">{{.Data.Password}}</dd>
|
<dt>Password</dt><dd class="text-monospace">{{.Data.Password}}</dd>
|
||||||
|
|
Loading…
Reference in a new issue