Skip to content

Commit

Permalink
fix: change tabs to buttons per UI release 2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hein Jeong authored and alharris-at committed Mar 9, 2022
1 parent 33dd6a8 commit 1db38f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ describe('Primitives', () => {
.find('div')
.within(() => {
cy.get('.amplify-tabs').within(() => {
cy.get('div').eq(0).should('have.text', 'Tab 1');
cy.get('div').eq(1).should('have.text', 'Tab 2');
cy.get('button').eq(0).should('have.text', 'Tab 1');
cy.get('button').eq(1).should('have.text', 'Tab 2');
});
});
});
Expand Down

0 comments on commit 1db38f3

Please sign in to comment.