Skip to content

Commit

Permalink
Merge pull request #1564 from aeternity/fix-tests
Browse files Browse the repository at this point in the history
test: update screenshots to fix e2e
  • Loading branch information
davidyuk authored Sep 18, 2024
2 parents 090fbb0 + cf9cc77 commit b4bcba5
Show file tree
Hide file tree
Showing 57 changed files with 9 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/e2e/specs/__image_snapshots__/Onboarding walks through #1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/e2e/specs/__image_snapshots__/Onboarding walks through #3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/e2e/specs/browser/__image_snapshots__/Browser opens #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/e2e/specs/settings/__image_snapshots__/Settings opens #0.png
11 changes: 9 additions & 2 deletions tests/e2e/specs/transfer/transaction-history.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ describe('Transfer: Transaction history', () => {
.click();
cy.location('pathname').should('eq', '/transfer/transactions');
cy.get('.list-item-transaction:not(.pending)').should('length', 15);
cy.matchImage();
cy.matchImage({ screenshotConfig: { blackout: ['.list-item-transaction div.subtitle.monospace'] } });
});

it('shows transaction details', () => {
cy.viewport('iphone-se2').visit('/transfer/transactions', { login: true });
cy.get('.list-item-transaction:last').click();
cy.location('pathname').should('include', '/transfer/transactions/details/th_');
cy.matchImage();
cy.matchImage({
screenshotConfig: {
blackout: [
'.details-field:contains(\'Date\') .value',
'.details-field:contains(\'Transaction hash\') .ae-address',
],
},
});
});
});

0 comments on commit b4bcba5

Please sign in to comment.