Spec add "first run" test
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user