File tree 3 files changed +80
-2
lines changed
test-plan/in-sprint/sprint-24
3 files changed +80
-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-32081-textBoxLeonardo .cy.js
57
+ yarn file cypress/e2e/Tests/Elements/GX-29736_RadioButtons .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-32083 ' # EDITAR AQUÍ EL TEST EXECUTION A IMPORTAR LAS PRUEBAS.
67
+ testExecKey : ' GX-29758 ' # 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
+
3
+ //test set:
4
+ describe ( 'GX-29736 ToolsQA | Elements | Radio Buttons' , ( ) => {
5
+ //todo: precondiciones
6
+ beforeEach ( 'Precondición' , ( ) => {
7
+ const endpoint = '/radio-button' ;
8
+ cy . visit ( `/${ endpoint } ` ) ;
9
+ } ) ;
10
+
11
+ // afterEach('', () => {
12
+
13
+ // })
14
+
15
+ it ( '29756 | TC1: Validar visualizar el label YES cuando se selecciona el radio button Yes' , ( ) => {
16
+ //tags
17
+ cy . get ( '#yesRadio' ) . click ( { force : true } ) ;
18
+ cy . contains ( 'You have selected' ) . children ( ) . should ( 'have.text' , 'Yes' ) ;
19
+ //cy.contains('You have selected').children().should.equal('yes');
20
+ //
21
+ } ) ;
22
+
23
+ it ( '29756 | TC2: Validar visualizar el label Impressive cuando se selecciona el radio button Impressive' , ( ) => {
24
+ //tags
25
+ cy . get ( '#impressiveRadio' ) . click ( { force : true } ) ;
26
+ cy . contains ( 'You have selected' ) . children ( ) . should ( 'have.text' , 'Impressive' ) ;
27
+ //cy.contains('You have selected').children().should.equal('yes');
28
+
29
+ //
30
+ } ) ;
31
+
32
+ it ( '29756 | TC3: Validar que el radio button con label "NO" este deshabilitado y no se pueda seleccionar' , ( ) => {
33
+ //tags
34
+ cy . get ( '#noRadio' ) . should ( 'be.disabled' ) ;
35
+ cy . contains ( 'You have selected' ) . should ( 'not.exist' ) ;
36
+ //cy.contains('You have selected').children().should.equal('yes');
37
+
38
+ //
39
+ } ) ;
40
+ } ) ;
41
+
42
+ //ES module imports/exports
43
+ removeLogs ( ) ;
Original file line number Diff line number Diff line change
1
+ ID: https://upexgalaxy24.atlassian.net/browse/GX-29736
2
+
3
+ # Summary: ToolsQA | Elements | RadioButtons
4
+
5
+ Como QA aprendiz, Quiero testear los Radio Buttons Para practicar hacer este tipo de Escenario de Testing
6
+
7
+ ```
8
+ 🧪Test Strategy
9
+
10
+ Utiilizar Scripts sencillos para tomar elementos con CSS Selectors
11
+
12
+ No utilizar un enfoque random
13
+
14
+ No tomar los textos de los elementos clickeados para utilizar luego.
15
+
16
+ Usar un enfoque sencillo con data esperada.
17
+ ```
18
+
19
+ ✅ACCEPTANCE CRITERIA (Esta Feature no necesita una US formato BDD; por favor revisar las BRS)
20
+
21
+ 🚩BUSINESS RULES SPEC
22
+
23
+ Cada Radio Buttons (RB) debe tener la siguiente etiqueta respectiva, hay un total de 3:
24
+
25
+ Yes Impressive No
26
+
27
+ Output: Por cada vez que se seleccione un RB, debe visualizar el mensaje siguiente:
28
+
29
+ “You have selected ” + buttonName
30
+
31
+ (TechNote: tomar en cuenta la separación)
32
+
33
+ donde “buttonName” = RB seleccionado
34
+
35
+ Excepción: El único RB que no debe ser seleccionado es el “No” El cursor del mouse no puede seleccionarlo.
You can’t perform that action at this time.
0 commit comments