-
Notifications
You must be signed in to change notification settings - Fork 3
Gx 23722 ✅ tools qa elements broken links images #386
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
The head ref may contain hidden characters: "GX-23722-\u2705-tools-qa-elements-broken-links-images"
Gx 23722 ✅ tools qa elements broken links images #386
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hola Pablo! Comenzamos la review con algunos topics que suelo evaluar:
- US Jira: En general se ve bien
- Cobertura de pruebas: Esta completa, como no hay mucha complejidad en la funcionalidad es sencillo de realizar
- POM: Muy bien implementada la estructura.
- Código: Esta correcto en general, muy bueno lo del intercept. Te hice un comentario sobre una mejora pero esta bien como ya lo has hecho. Si tengo algunos mas sobre el código te los dejo mas abajo
Buen trabajo Pablo! Voy cerrando esta US en Jira
cy.visit('/broken'); | ||
}); | ||
|
||
it('GX-23722 | TC1: Validar las propiedades de imagen valida', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No olvides que los títulos solo tienen al comienzo el numero del summary ,es decir, sin el 'GX-'
@@ -0,0 +1,35 @@ | |||
import { removeLogs } from '@helper/RemoveLogs'; | |||
import { brokenL } from '@pages/Elements/GX-23722-BrokenLinks'; | |||
import data from '@data/GX-23722-BrokenLink.json'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muy bien el uso de la ruta para data
get={ | ||
ValidImage: ()=> cy.get('[class^="col-12"] [src$="/Toolsqa.jpg"]'), | ||
BrokedImage: ()=> cy.get('[src$="/Toolsqa_1.jpg"]'), | ||
AllLinks: numberLink => cy.get('[class^="col-12"] a').eq(`${numberLink}`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aquí con la data podrías aprovechar el Link, similar como lo implementaste pero obtenerlo directamente con la propiedad href ya que esta es la que contiene el link a la pagina
Se realizaron 4 TC y todos pasaron las pruebas se aplico POM y Fixture.
Solo hubo algunos detalles con Xray , la Gestión de las pruebas fue realizada en Qmetry.