Fix flaky follow spec (#20673)
This commit is contained in:
parent
78f9bec3e7
commit
1e90c7f714
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ describe('Follow user from profile page', () => {
|
|||
cy.get('@followButton').should('have.attr', 'aria-pressed', 'false');
|
||||
|
||||
cy.get('@followButton').click();
|
||||
cy.wait('@followsRequest');
|
||||
// Inner text should now be following
|
||||
cy.get('@followButton').should('have.text', 'Following');
|
||||
cy.get('@followButton').should('have.attr', 'aria-pressed', 'true');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue