File tree 3 files changed +66
-2
lines changed
test-plan/in-sprint/sprint-21
3 files changed +66
-2
lines changed Original file line number Diff line number Diff line change 54
54
with :
55
55
browser : chrome
56
56
command : | # EDITAR AQUÍ EL ARCHIVO SUITE A EJECUTAR:
57
- yarn file cypress/e2e/Tests/Elements/GX-22318-TextBox .cy.js
57
+ yarn file cypress/e2e/Tests/Elements/GX-24045-Buttons .cy.js
58
58
59
59
- name : ✅Import Test Results to Xray
60
60
if : always()
64
64
password : ${{secrets.XRAY_CLIENT_SECRET}}
65
65
testFormat : ' junit' # OPCIONES PARA CAMBIAR: 'junit' (para xml) o 'cucumber' (para json)
66
66
testPaths : ' reports/test-results.xml' # OPCIONES: '/test-results.xml' o 'cucumber-report.json'
67
- testExecKey : ' GX-22320 ' # EDITAR AQUÍ EL TEST EXECUTION A IMPORTAR LAS PRUEBAS.
67
+ testExecKey : ' GX-24047 ' # EDITAR AQUÍ EL TEST EXECUTION A IMPORTAR LAS PRUEBAS.
68
68
projectKey : ' GX' # EDITAR EN CASO DE TRABAJAR CON OTRO PROYECTO.
69
69
70
70
- name : 🔔Slack Notification of Done
Original file line number Diff line number Diff line change
1
+ import { removeLogs } from '@helper/RemoveLogs' ;
2
+ removeLogs ( ) ;
3
+
4
+ describe ( '✅HerramientasQA | Elementos | Botones' , ( ) => {
5
+ beforeEach ( 'precondición' , ( ) => {
6
+ cy . visit ( 'https://demoqa.com/buttons' ) ;
7
+ } ) ;
8
+
9
+ it ( '24046 | TC1: Validar funcionamiento botón doble click' , ( ) => {
10
+ cy . get ( '[id="doubleClickBtn"]' ) . dblclick ( ) ;
11
+ cy . get ( '[id="doubleClickMessage"]' ) . should ( 'contain' , 'You have done a double click' ) ;
12
+ } ) ;
13
+
14
+ it ( '24046 | TC2: Validar funcionamiento botón click derecho' , ( ) => {
15
+ cy . get ( '[id="rightClickBtn"]' ) . rightclick ( ) ;
16
+ cy . get ( '[id="rightClickMessage"]' ) . should ( 'contain' , 'You have done a right click' ) ;
17
+ } ) ;
18
+
19
+ it ( '24046 | TC3: Validar funcionamiento botón click' , ( ) => {
20
+ cy . get ( '[type="button"]' ) . eq ( 3 ) . click ( ) ;
21
+ cy . get ( '[id="dynamicClickMessage"]' ) . should ( 'contain' , 'You have done a dynamic click' ) ;
22
+ } ) ;
23
+ } ) ;
Original file line number Diff line number Diff line change
1
+ Descripción
2
+
3
+ As a QA learner,
4
+
5
+ I want to test the Buttons with:
6
+
7
+ Button double click
8
+
9
+ Button right click
10
+
11
+ Button click
12
+
13
+ So that I can improve my testing skills for this scenario.
14
+
15
+ ✅ACCEPTANCE CRITERIA
16
+
17
+ This feature doesn’t need BDD AC - Please take a look into the BRS
18
+
19
+ 🚩BUSINESS RULES SPEC
20
+
21
+ Expected actions
22
+
23
+ Buttons:
24
+
25
+ Button ( Double Click ):
26
+
27
+ IF: “Double Click” button is clicked
28
+
29
+ Then : In the ClickMessage section, a message must be displayed as: ( “You have done a double click” )
30
+
31
+ Button ( Right Click ) :
32
+
33
+ IF: “_ Right Click”_ button is clicked
34
+
35
+ Then : In the ClickMessage section, a message must be displayed as: ( “You have done a right click” )
36
+
37
+ Button ( Click ):
38
+
39
+ IF: “_ Click”_ button is clicked
40
+
41
+ Then : In the ClickMessage section, a message must be displayed as: ( “You have done a dynamic c
You can’t perform that action at this time.
0 commit comments