Skip to content

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

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 3 commits into from
Jul 13, 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 @@ -54,7 +54,7 @@ jobs:
with:
browser: chrome
command: | #EDITAR AQUÍ EL ARCHIVO SUITE A EJECUTAR:
yarn file cypress/e2e/Tests/Elements/GX-22318-TextBox.cy.js
yarn file cypress/e2e/Tests/Elements/GX-24045-Buttons.cy.js

- name: ✅Import Test Results to Xray
if: always()
Expand All @@ -64,7 +64,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: 'GX-22320' #EDITAR AQUÍ EL TEST EXECUTION A IMPORTAR LAS PRUEBAS.
testExecKey: 'GX-24047' #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
23 changes: 23 additions & 0 deletions cypress/e2e/Tests/Elements/GX-24045-Buttons.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { removeLogs } from '@helper/RemoveLogs';
removeLogs();

describe('✅HerramientasQA | Elementos | Botones', () => {
beforeEach('precondición', () => {
cy.visit('https://demoqa.com/buttons');
});

it('24046 | TC1: Validar funcionamiento botón doble click', () => {
cy.get('[id="doubleClickBtn"]').dblclick();
cy.get('[id="doubleClickMessage"]').should('contain', 'You have done a double click');
});

it('24046 | TC2: Validar funcionamiento botón click derecho', () => {
cy.get('[id="rightClickBtn"]').rightclick();
cy.get('[id="rightClickMessage"]').should('contain', 'You have done a right click');
});

it('24046 | TC3: Validar funcionamiento botón click', () => {
cy.get('[type="button"]').eq(3).click();
cy.get('[id="dynamicClickMessage"]').should('contain', 'You have done a dynamic click');
});
});
41 changes: 41 additions & 0 deletions cypress/test-plan/in-sprint/sprint-21/GX-24045.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Descripción

As a QA learner,

I want to test the Buttons with:

Button double click

Button right click

Button click

So that I can improve my testing skills for this scenario.

✅ACCEPTANCE CRITERIA

This feature doesn’t need BDD AC - Please take a look into the BRS

🚩BUSINESS RULES SPEC

Expected actions

Buttons:

Button ( Double Click ):

IF: “Double Click” button is clicked

Then : In the ClickMessage section, a message must be displayed as: ( “You have done a double click” )

Button ( Right Click ) :

IF: “_Right Click”_ button is clicked

Then : In the ClickMessage section, a message must be displayed as: ( “You have done a right click” )

Button ( Click ):

IF: “_Click”_ button is clicked

Then : In the ClickMessage section, a message must be displayed as: ( “You have done a dynamic c