feat: test id da m3 a vtex

This commit is contained in:
marlon passos 2023-03-29 13:40:29 -03:00
parent 1ca4446fa2
commit cb09072bc0

View File

@ -10,15 +10,31 @@ import styles from "../../footer.module.scss";
const Autores = () => {
return (
<section className={styles["page-footer__footer-autores"]}>
<Text className={styles["page-footer__footer-text"]} text="Powered by" />
<Img className={styles["autores-img"]} img={Vtex} text="vtex" />
<Text
className={styles["page-footer__footer-text"]}
text="Developed by"
/>
<Img className={styles["autores-img"]} img={M3} text="M3" />
<PoweredBy />
<DevelopedBy />
</section>
);
};
export { Autores };
export const PoweredBy = () => (
<div
data-testid="footer__vtex"
>
<Text className={styles["page-footer__footer-text"]} text="Powered by" />
<Img className={styles["autores-img"]} img={Vtex} text="vtex" />
</div>
)
export const DevelopedBy = () => (
<div
data-testid="footer__m3"
>
<Text
className={styles["page-footer__footer-text"]}
text="Developed by"
/>
<Img className={styles["autores-img"]} img={M3} text="M3" />
</div>
)