fix: use position: fixed to avoid forcing Cypress (#39605)

This commit is contained in:
Oliver Eyton-Williams
2020-09-23 17:15:21 +02:00
committed by GitHub
parent 2f4d1c2804
commit 4f0959df1d
4 changed files with 11 additions and 15 deletions

View File

@ -4,7 +4,7 @@ describe('The `Update my account settings` button works properly', function() {
beforeEach(() => {
cy.visit('/');
cy.contains("Get started (it's free)").click({ force: true });
cy.contains("Get started (it's free)").click();
});
it('Should get rendered', function() {
@ -17,7 +17,7 @@ describe('The `Update my account settings` button works properly', function() {
});
it('Should take user to their account settings when clicked', function() {
cy.contains('Update my account settings').click({ force: true });
cy.contains('Update my account settings').click();
cy.url().should('include', '/settings');
});
});