| |
@@ -0,0 +1,61 @@
|
| |
+ # Basic tests for gnome-calculator
|
| |
+ - hosts: localhost
|
| |
+ pre_tasks:
|
| |
+ - name: Prepare the system
|
| |
+ include: prepare.yml
|
| |
+ tags:
|
| |
+ - classic
|
| |
+ roles:
|
| |
+ - role: standard-test-basic
|
| |
+ tags:
|
| |
+ - classic
|
| |
+ required_packages:
|
| |
+ - gnome-calculator
|
| |
+ - python3-pydbus
|
| |
+ - python3-dogtail
|
| |
+ - python3-dogtail-scripts
|
| |
+ - python3-iniparse
|
| |
+ repositories:
|
| |
+ - repo: "https://pagure.io/desktop-qa/gnome-calculator.git"
|
| |
+ dest: "gnome-calculator"
|
| |
+ version: "f29"
|
| |
+ tests:
|
| |
+ - startViaMenu:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh start_via_command
|
| |
+ - startViaCommand:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh start_via_menu
|
| |
+ - closeViaGnomePanel:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh close_via_gnome_panel
|
| |
+ - closeViaShortcut:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh quit_via_shortcut
|
| |
+ - help:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh help
|
| |
+ - basic_add:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh basic_add
|
| |
+ - basic_subtract:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh basic_subtract
|
| |
+ - basic_multiply:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh basic_multiply
|
| |
+ - basic_divide:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh basic_divide
|
| |
+ - basic_brackets:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh basic_brackets
|
| |
+ - advanced_calculation:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh advanced_calculation
|
| |
+ - financial_calculation:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh financial_calculation
|
| |
+ - programming_calculation:
|
| |
+ dir: "gnome-calculator"
|
| |
+ run: ./runtest.sh programming_calculation
|
| |
Adds OSCI tests folder. I defined tests.yml to run some of basic tests from https://pagure.io/desktop-qa/gnome-calculator tests should pass (with current version of gnome-calculator).