Skip to content

✅[QA REGRESSION PASSED]: Ready to Merge into MAIN #505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/CI-Suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
with:
browser: electron
command: | #EDITAR AQUÍ EL ARCHIVO SUITE A EJECUTAR:
yarn file cypress/e2e/Tests/Interactions/GX2-7552-dragabble.cy.js
yarn file cypress/e2e/Tests/Elements/GX-39414-RadioButtons.cy.js

- name: ✅Import Test Results to Xray
if: always()
Expand All @@ -65,7 +65,7 @@ jobs:
password: ${{secrets.XRAY_CLIENT_SECRET}}
testFormat: 'junit' #OPCIONES PARA CAMBIAR: 'junit' (para xml) o 'cucumber' (para json)
testPaths: 'reports/test-results.xml' #OPCIONES: '/test-results.xml' o 'cucumber-report.json'
testExecKey: 'GX2-7554' #EDITAR AQUÍ EL TEST EXECUTION A IMPORTAR LAS PRUEBAS.
testExecKey: 'GX-39416' #EDITAR AQUÍ EL TEST EXECUTION A IMPORTAR LAS PRUEBAS.
projectKey: 'GX' #EDITAR EN CASO DE TRABAJAR CON OTRO PROYECTO.

- name: 🔔Slack Notification of Done
Expand Down
19 changes: 19 additions & 0 deletions cypress/e2e/Tests/Elements/GX-39414-RadioButtons.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
describe('GX-39414 | TS: ✅ToolsQA | Elements | Radio Buttons', () => {
beforeEach('Visitar la pagina de DemoQA', () => {
cy.visit('/radio-button');
cy.wait(3000);
});
it('39414| TC1: Validar hacer click en el botón opcional “Yes”', () => {
cy.get('label[for="yesRadio"]').click();
cy.get('[class="mt-3"]').click().should('contain.text', 'You have selected Yes');
});
it('39414| TC2: Validar hacer click en el botón opcional “improvise”', () => {
cy.get('label[for="impressiveRadio"]').click();
cy.get('[class="mt-3"]').should('contain.text', 'You have selected Impressive');
});
it('39414| TC3: Validar que no se pueda seleccionar la opción “NO”', () => {
cy.get('#noRadio').should('be.disabled');
});
});
import { removeLogs } from '@helper/RemoveLogs';
removeLogs();
34 changes: 34 additions & 0 deletions cypress/test-plan/in-sprint/sprint-28/GX-39414-RadioButtons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
US GX-39414 | TS: ✅ToolsQA | Elements | Radio Buttons

BUSINESS RULES SPEC
Cada Radio Buttons (RB) debe tener la siguiente etiqueta respectiva, hay un total de 3:

Yes

Impressive

No

Output:

Por cada vez que se seleccione un RB, debe visualizar el mensaje siguiente:

“You have selected ” + buttonName

(TechNote: tomar en cuenta la separación)

donde “buttonName” = RB seleccionado

Excepción:

El único RB que no debe ser seleccionado es el “No”

El cursor del mouse no puede seleccionarlo.

Validaciones:

39414| TC1: Validar  hacer click en el botón opcional “Yes”

39414| TC2: Validar hacer click en el botón opcional “improvise”

39414| TC3: Validar que no se pueda seleccionar la opción “NO”