Project

General

Profile

Actions

action #56009

closed

coordination #36712: [saga] Use YaST specific framework for GUI testing

coordination #50672: [funtional][y][epic] Use libyui-rest-api for YaST modules testing

[functional][y] Develop ruby gem library to operate controls in the UI

Added by riafarov over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2019-08-27
Due date:
2019-09-10
% Done:

0%

Estimated time:
8.00 h

Description

Description

I as a YaST developer want to write integration tests for the module

After our discussion, we've decided to go for rspec for YaST modules testing.

As of now, we don't have any wrapper for curl requests to the UI and we should start with it, so it can be imported and used for the actions.

We already have some code implemented by Ladi: https://github.com/lslezak/cucumber-yast

https://github.com/lslezak/cucumber-yast/blob/master/features/step_definitions/ui_test_steps.rb

Acceptance criteria

  1. There is ruby gem which provides easy to use methods to operate on buttons
Actions #1

Updated by riafarov over 4 years ago

  • Description updated (diff)
  • Due date set to 2019-09-10
  • Category set to Enhancement to existing tests
Actions #2

Updated by riafarov over 4 years ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Assignee deleted (riafarov)
  • Estimated time set to 8.00 h
Actions #3

Updated by JERiveraMoya over 4 years ago

  • Assignee set to JERiveraMoya
Actions #4

Updated by JERiveraMoya over 4 years ago

  • Status changed from Workable to In Progress
Actions #5

Updated by JERiveraMoya over 4 years ago

Current work is opening application and clicking on a button all via rspec: https://github.com/jknphy/libyui_client

Actions #6

Updated by riafarov over 4 years ago

  • Status changed from In Progress to Resolved

Joaquin will file follow up ticket, library contains helpers for many controls, based on Ladi's repo.

Actions #7

Updated by JERiveraMoya over 4 years ago

  • Copied to action #56756: [functional][y] Improve ruby gem library to operate controls in the UI added
Actions #8

Updated by JERiveraMoya over 4 years ago

  • Copied to deleted (action #56756: [functional][y] Improve ruby gem library to operate controls in the UI)
Actions

Also available in: Atom PDF