Project

General

Profile

action #56009

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 2 years ago. Updated about 1 year 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

History

#1 Updated by riafarov over 2 years ago

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

#2 Updated by riafarov over 2 years ago

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

#3 Updated by JERiveraMoya over 2 years ago

  • Assignee set to JERiveraMoya

#4 Updated by JERiveraMoya over 2 years ago

  • Status changed from Workable to In Progress

#5 Updated by JERiveraMoya about 2 years ago

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

#6 Updated by riafarov about 2 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.

#7 Updated by JERiveraMoya about 2 years ago

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

#8 Updated by JERiveraMoya about 2 years ago

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

Also available in: Atom PDF