Project

General

Profile

SeleniumTests » History » Version 9

Carsten Rose, 28.12.2023 17:37

1 5 Carsten Rose
{{child_pages}}
2
3
{{toc}}
4
5 1 Carsten Rose
h1. SeleniumTests
6 2 Carsten Rose
7
* *Test QFQ*
8
* Test a specific application
9
10
11
* *Interactive Tests* - used during developing of selenium tests
12 9 Carsten Rose
* Automated Tests -
13 2 Carsten Rose
14 4 Carsten Rose
h2. QFQ-Test-Application
15 1 Carsten Rose
16 3 Carsten Rose
* Creating a dedicated QFQ-Test-Application (#17523) - this will be the base for all further interactice and automated tests.
17 4 Carsten Rose
* This will be the same for a) Developer (check out new features, example code) and b) selenium tests.
18 1 Carsten Rose
* The  'Develop' part will be based on the crose QFQ site http://webwork20:38773/
19 4 Carsten Rose
* Selenium Test Data: all tables start with 'Data_'
20
* Developer Test Data: all tables start with 'Dev_'
21
22
23 3 Carsten Rose
* Current Shweta 'QFQ learn' and 'Selenium test' is the same: http://webwork20:37091 
24 2 Carsten Rose
  
25 1 Carsten Rose
  * We need a develop site for Shweta (might be the existing one, or a copy of the new QFQ-Test-Application)
26 9 Carsten Rose
  * A 'production' version which is 'QFQ-Test-Application' - that one could be reinitialized nightly (to make clear that all changes are lost). 
27
28
    * When the 'QFQ-Test-Application' has to be enhanced, a dump (T3, Data, Files) to the repository has to be done (so that the nightly init does no loose latest changes).
29 1 Carsten Rose
30
h2. Preparation Tasks together with Enis
31
32 4 Carsten Rose
* Setup dedicated QFQ test environment for run as automated tests (Check how Marc did it).
33
* Debugging & troubleshoot Python/Selenium tests - *make it easier for Shweta to see what is not working and why*.
34 1 Carsten Rose
35
h2. Update QFQ, Typo3, MariaDB and keep the tests up and running
36 3 Carsten Rose
37
* Document how to update the QFQ-Test-Application.
38 4 Carsten Rose
* How does the developer fetch the latest QFQ-Test-Application?
39 3 Carsten Rose
* Later: Maybe several T3 / QFQ / MariaDB versions.
40
41
h2. Tasks for Shweta
42
43 8 Carsten Rose
* Categorize Tests. E.g: Form, FormElement, Report, Link, Downloads 
44
45
  * Create Wiki Pages for each category and write down basic tests (one per line) - go through https://qfq.io/doc.
46
47
* Define 'test-data': sql file, all tables have the prefix `Data_`, such test-data can be played (and should implicit remove all previous data).
48
49 2 Carsten Rose
50
h2. Topics
51
52
* Clean Test Environment
53
54
  * Reproducable T3 QFQ Site
55
  * Reproducable Data 
56
57
* Definition: What to test
58
59
  * Form
60
61
    * Form Save Record
62
    * Form Update Record
63
    * Form Delete Record
64
    * Each individual FormElement
65
    * Dynamic Update
66
67
  * Report
68
69
    * Syntax like: head, tail, shead, stail, rbeg, rend, renr, fbeg, fend, althead, altsql
70
    * `... as _link`
71
72
      * plain link
73
      * link with question dialog
74
      * link with tooltip
75
      * render mode    
76
77
* Implement Tests
78
79 7 Carsten Rose
  *