Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelDeMartin committed Jun 8, 2024
1 parent 324c843 commit 460e233
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cypress/e2e/cloud.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('Cloud', () => {
cy.solidLogin();

// Act
cy.see('Your data is only stored locally, do you want to upload it to the cloud?');
cy.see('All your eggs are in the same basket');
cy.press('Back up');
cy.dontSee('Loading...');

Expand Down Expand Up @@ -122,7 +122,7 @@ describe('Cloud', () => {
cy.solidLogin();

// Act
cy.see('Your data is only stored locally, do you want to upload it to the cloud?');
cy.see('All your eggs are in the same basket');
cy.press('Back up');
cy.dontSee('Loading...', { timeout: 30000 });

Expand Down Expand Up @@ -151,17 +151,17 @@ describe('Cloud', () => {
cy.solidLogin();

// Act
cy.see('Your data is only stored locally, do you want to upload it to the cloud?');
cy.press('not now');
cy.see('All your eggs are in the same basket');
cy.press('not yet');

// Assert
cy.dontSee('Your data is only stored locally, do you want to upload it to the cloud?');
cy.dontSee('All your eggs are in the same basket');
cy.see('Onboarding task');
cy.ariaLabel('Open account status').click();
cy.see('Your data is not backed up yet');

cy.reload();
cy.dontSee('Your data is only stored locally, do you want to upload it to the cloud?');
cy.dontSee('All your eggs are in the same basket');
cy.see('Onboarding task');
});

Expand Down

0 comments on commit 460e233

Please sign in to comment.