gnome-calculator/tests/prepare.yml
Petr Schindler efa91a0598 Add CI tests using standard test interface
Adding tests according to the CI wiki [0] and standard test interface [1]

Dogtail tests for gnome-calculator can be found in pagure [2]

[0] https://fedoraproject.org/wiki/CI
[1] https://fedoraproject.org/wiki/Changes/InvokingTests
[2] https://pagure.io/desktop-qa/gnome-calculator
2018-08-20 15:12:43 +02:00

31 lines
824 B
YAML

- name: Install Workstation packages
dnf:
name: '@Fedora Workstation'
state: present
- name: Install libselinux-python
dnf:
name: libselinux-python
state: present
- name: Set up user test
user:
name: test
groups:
- wheel
- adm
password: $6$lJYbJXPZrkeslR0K$H46Th6V.IdaHEPWt7YUSIwz9r16LWWDFSrIvbmUOyZaGMWfXzS1wb5iWPuMmX9VeSz/wiKj5003sl6gDQ/cUD.
- name: Set passwordless sudo
lineinfile:
path: /etc/sudoers
state: present
regexp: '^%wheel\s'
line: '%wheel ALL=(ALL) NOPASSWD: ALL'
- name: Set gdm to use xorg session
ini_file:
path: /etc/gdm/custom.conf
section: daemon
option: WaylandEnable
value: false
when: wayland is undefined
- name: Turn off lock screen when we are idle
command: gsettings set org.gnome.desktop.session idle-delay 0