Project

General

Profile

Actions

action #109899

open

coordination #109786: [epic][qe-core] Using Selenium in openQA

[qe-core][spike] Using Selenium in openQA - Implement basic testing for an electron based app

Added by szarate over 2 years ago. Updated about 2 years ago.

Status:
Feedback
Priority:
Low
Assignee:
Category:
Spike/Research
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

See Parent's description for more background, as far as this task goes, we want to know:

  1. How do we hook selenium to openQA? How could that look like?
  2. How can the testcases look like? for Selenium? where are they located (hint, not in data/)
  3. How difficult is to write the test (1 to 10) + the driver?
  4. Could it be that in the future, we can have some bigger tests written this way (see for instance?
  5. What could be a birds eye view on how the architecture could look like?
  6. What are the advantages?
  7. Conclusions after the experiment

Acceptance Criteria

  1. Very basic test for Element (matrix client), Rancher Desktop, VSCodium or Discord
  2. Findings are documented in this ticket, with all pull requests related to it
  3. Above questions answered (during the Sprint review)

Considerations

This task doesn't necessarily need to be fully done, in such case, we'll be looking still at the findings during the sprint review. If you see a risk, raise it during a daily or talk about on slack!

Suggestions

Take a look at the Electron's documentation on testing: https://www.electronjs.org/docs/latest/tutorial/automated-testing#with-selenium (make sure you only look at selenium for now) while we don't necessarily need to use Javascript, we might have to do some research before writing code.


Related issues 1 (0 open1 closed)

Copied from openQA Tests - action #109896: [qe-core][spike] Using Selenium in openQA - Implement firefox or tomcat test with selenium (either in Python or Perl)ResolvedVANASTASIADIS

Actions
Actions #1

Updated by szarate over 2 years ago

  • Copied from action #109896: [qe-core][spike] Using Selenium in openQA - Implement firefox or tomcat test with selenium (either in Python or Perl) added
Actions #2

Updated by szarate over 2 years ago

  • Subject changed from [qe-core][spike] implement basic testing for an electron based app to [qe-core][spike] Using Selenium in openQA - mplement basic testing for an electron based app
Actions #3

Updated by szarate over 2 years ago

  • Subject changed from [qe-core][spike] Using Selenium in openQA - mplement basic testing for an electron based app to [qe-core][spike] Using Selenium in openQA - Implement basic testing for an electron based app
Actions #4

Updated by szarate over 2 years ago

  • Description updated (diff)
Actions #5

Updated by szarate over 2 years ago

  • Priority changed from Normal to Low
Actions #6

Updated by szarate over 2 years ago

  • Sprint set to QE-Core: April Sprint (Apr 13 - May 11)
Actions #7

Updated by szarate over 2 years ago

  • Target version set to QE-Core: Ready
Actions #8

Updated by szarate over 2 years ago

  • Status changed from New to Workable
Actions #9

Updated by szarate over 2 years ago

  • Status changed from Workable to New
Actions #10

Updated by szarate over 2 years ago

  • Sprint deleted (QE-Core: April Sprint (Apr 13 - May 11))
Actions #11

Updated by szarate over 2 years ago

  • Sprint set to QE-Core: May Sprint (May 11 - Jun 08)
Actions #12

Updated by szarate over 2 years ago

  • Status changed from New to Workable
Actions #13

Updated by szarate over 2 years ago

  • Sprint deleted (QE-Core: May Sprint (May 11 - Jun 08))
Actions #14

Updated by apappas about 2 years ago

  • Status changed from Workable to Feedback
  • Assignee set to szarate

Has it been decided that openqa web tests are going to be done with Selenium or another framework?

Actions

Also available in: Atom PDF