@@ -19,35 +19,35 @@ export const getTestUtils = (
1919 const findFooter = ( ) => findByLgId ! < HTMLElement > ( lgIds . footer ) ;
2020
2121 /**
22- * @returns the WizardFooter element using the `data-testid ` data attribute.
22+ * @returns the WizardFooter element using the `data-lgid ` data attribute.
2323 * Will throw if no elements match or if more than one match is found.
2424 */
2525 const getFooter = ( ) => getByLgId ! < HTMLElement > ( lgIds . footer ) ;
2626
2727 /**
28- * @returns the WizardFooter element using the `data-testid ` data attribute or `null` if no elements match.
28+ * @returns the WizardFooter element using the `data-lgid ` data attribute or `null` if no elements match.
2929 * Will throw if more than one match is found.
3030 */
3131 const queryFooter = ( ) => queryByLgId ! < HTMLElement > ( lgIds . footer ) ;
3232
3333 /**
34- * @returns the primary button element using the `data-testid ` data attribute.
34+ * @returns the primary button element using the `data-lgid ` data attribute.
3535 * Will throw if no elements match or if more than one match is found.
3636 */
3737 const getPrimaryButton = getButtonUtils < HTMLButtonElement > (
3838 lgIds . footerPrimaryButton ,
3939 ) . getButton ;
4040
4141 /**
42- * @returns the primary button element using the `data-testid ` data attribute or `null` if no elements match.
42+ * @returns the primary button element using the `data-lgid ` data attribute or `null` if no elements match.
4343 * Will throw if more than one match is found.
4444 */
4545 const queryPrimaryButton = getButtonUtils < HTMLButtonElement > (
4646 lgIds . footerPrimaryButton ,
4747 ) . queryButton ;
4848
4949 /**
50- * @returns a promise that resolves to the primary button element using the `data-testid ` data attribute.
50+ * @returns a promise that resolves to the primary button element using the `data-lgid ` data attribute.
5151 * The promise is rejected if no elements match or if more than one match is found.
5252 */
5353 const findPrimaryButton = getButtonUtils < HTMLButtonElement > (
@@ -62,47 +62,47 @@ export const getTestUtils = (
6262 ) . isDisabled ;
6363
6464 /**
65- * @returns the back button element using the `data-testid ` data attribute.
65+ * @returns the back button element using the `data-lgid ` data attribute.
6666 * Will throw if no elements match or if more than one match is found.
6767 */
6868 const getBackButton = getButtonUtils < HTMLButtonElement > (
6969 lgIds . footerBackButton ,
7070 ) . getButton ;
7171
7272 /**
73- * @returns the back button element using the `data-testid ` data attribute or `null` if no elements match.
73+ * @returns the back button element using the `data-lgid ` data attribute or `null` if no elements match.
7474 * Will throw if more than one match is found.
7575 */
7676 const queryBackButton = getButtonUtils < HTMLButtonElement > (
7777 lgIds . footerBackButton ,
7878 ) . queryButton ;
7979
8080 /**
81- * @returns a promise that resolves to the back button element using the `data-testid ` data attribute.
81+ * @returns a promise that resolves to the back button element using the `data-lgid ` data attribute.
8282 * The promise is rejected if no elements match or if more than one match is found.
8383 */
8484 const findBackButton = getButtonUtils < HTMLButtonElement > (
8585 lgIds . footerBackButton ,
8686 ) . findButton ;
8787
8888 /**
89- * @returns the cancel button element using the `data-testid ` data attribute.
89+ * @returns the cancel button element using the `data-lgid ` data attribute.
9090 * Will throw if no elements match or if more than one match is found.
9191 */
9292 const getCancelButton = getButtonUtils < HTMLButtonElement > (
9393 lgIds . footerCancelButton ,
9494 ) . getButton ;
9595
9696 /**
97- * @returns the cancel button element using the `data-testid ` data attribute or `null` if no elements match.
97+ * @returns the cancel button element using the `data-lgid ` data attribute or `null` if no elements match.
9898 * Will throw if more than one match is found.
9999 */
100100 const queryCancelButton = getButtonUtils < HTMLButtonElement > (
101101 lgIds . footerCancelButton ,
102102 ) . queryButton ;
103103
104104 /**
105- * @returns a promise that resolves to the cancel button element using the `data-testid ` data attribute.
105+ * @returns a promise that resolves to the cancel button element using the `data-lgid ` data attribute.
106106 * The promise is rejected if no elements match or if more than one match is found.
107107 */
108108 const findCancelButton = getButtonUtils < HTMLButtonElement > (
0 commit comments