Spec add "first run" test

KASM-1609_select_de_to_run
Dmitry Maksyoma 4 years ago
parent 9161015aca
commit 2fa381a3fe

@ -48,6 +48,15 @@ with description('vncserver') as self:
with after.each: with after.each:
kill_xvnc() kill_xvnc()
with it('asks user to select a DE on the first run'):
add_kasmvnc_user_docker()
cmd = f'{vncserver_cmd}'
completed_process = run_cmd(cmd, input="1\ny\n")
expect(completed_process.returncode).to(equal(0))
check_de_was_setup_to_run('cinnamon')
with it('selects passed DE with -s'): with it('selects passed DE with -s'):
add_kasmvnc_user_docker() add_kasmvnc_user_docker()

Loading…
Cancel
Save