numerous-musician-23918
06/07/2022, 9:35 AMadamant-beard-17074
06/07/2022, 11:11 AMacceptable-solstice-90676
06/07/2022, 12:20 PMfresh-doctor-14925
06/07/2022, 12:26 PMacceptable-solstice-90676
06/07/2022, 12:28 PMgray-kilobyte-89541
06/07/2022, 12:31 PMbefore
hook the 2nd test will not have the alias set. You can use beforeEach
or just import the fixture usually as a local variablegray-kilobyte-89541
06/07/2022, 12:31 PMbroad-toothbrush-93273
06/07/2022, 3:05 PMechoing-painting-40909
06/07/2022, 3:09 PMgray-easter-54566
06/07/2022, 3:25 PMbroad-toothbrush-93273
06/07/2022, 3:29 PMfull-journalist-87924
06/07/2022, 8:07 PMadamant-beard-17074
06/07/2022, 8:50 PMrough-monitor-85122
06/07/2022, 9:07 PMwhite-activity-68996
06/08/2022, 5:32 AMwhite-activity-68996
06/08/2022, 5:33 AMmagnificent-airport-3423
06/08/2022, 6:33 AMhallowed-noon-70189
06/08/2022, 6:36 AMechoing-painting-40909
06/08/2022, 7:35 AMmagnificent-airport-3423
06/08/2022, 9:22 AMmagnificent-airport-3423
06/08/2022, 9:22 AMmagnificent-airport-3423
06/08/2022, 9:23 AMbitter-easter-25324
06/08/2022, 10:21 AMgray-kilobyte-89541
06/08/2022, 12:12 PMmagnificent-airport-3423
06/08/2022, 12:17 PMgray-kilobyte-89541
06/08/2022, 12:39 PMred-toddler-79937
06/08/2022, 1:51 PMjs
cy.findByTestId('category-label-container')
.get('.mat-tab-labels')
.first()
.children().click({ multiple: true}).should('have.attr', 'aria-selected', 'true');
Does anyone know how I can check for current button that is clicked if it has the attribute?red-toddler-79937
06/08/2022, 2:21 PMred-toddler-79937
06/08/2022, 3:13 PMred-toddler-79937
06/08/2022, 4:44 PM