Skip to content

Commit a7dba14

Browse files
2 parents d3b24e2 + eceeed4 commit a7dba14

File tree

175 files changed

+2160
-555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+2160
-555
lines changed

.github/workflows/ci-e2e.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: E2E Tests
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Pull Request Preview pipelines Testnet"]
6+
types: [completed]
7+
8+
env:
9+
PR_NUMBER: ${{ github.event.pull_request.number }}
10+
11+
jobs:
12+
cypress-run:
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Cypress run
18+
uses: cypress-io/github-action@v6
19+
with:
20+
config: baseUrl=https://pr-${{ env.PR_NUMBER }}-aescan-testnet.stg.service.aepps.com

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## [0.13.0](https://github.com/aeternity/aescan/compare/0.12.0...0.13.0) (2024-05-20)
4+
5+
6+
### Features
7+
8+
* Blocks chart page ([#721](https://github.com/aeternity/aescan/issues/721)) ([46d504a](https://github.com/aeternity/aescan/commit/46d504aaa0d5e1fd04d91f1bf644fb3fecf58768))
9+
* Contract calls chart page ([#782](https://github.com/aeternity/aescan/issues/782)) ([a1ddc72](https://github.com/aeternity/aescan/commit/a1ddc72799518dab90e32cbb944177fc3ddacc49))
10+
* Display all testnet tokens ([#783](https://github.com/aeternity/aescan/issues/783)) ([faecd05](https://github.com/aeternity/aescan/commit/faecd05d590d87341c47d368c5e1e6e4136dfe66))
11+
* E2E testing ([#780](https://github.com/aeternity/aescan/issues/780)) ([0a8f912](https://github.com/aeternity/aescan/commit/0a8f912862aa9781649c1c38d4e8073e7870afc9))
12+
* Raw data pointer support for Ceres ([#761](https://github.com/aeternity/aescan/issues/761)) ([5190403](https://github.com/aeternity/aescan/commit/5190403f276a8dd864ba4e769abf594330b23271))
13+
* Some time-related labels are not aligned properly on mobile ([#788](https://github.com/aeternity/aescan/issues/788)) ([0254de1](https://github.com/aeternity/aescan/commit/0254de117da172df01679444afbfbdf73060b2fc))
14+
* Time format switch ([#720](https://github.com/aeternity/aescan/issues/720)) ([b986617](https://github.com/aeternity/aescan/commit/b986617482043f7ec615ca292e5a6c24c417caeb))
15+
* Transactions chart page ([#719](https://github.com/aeternity/aescan/issues/719)) ([ba1f59e](https://github.com/aeternity/aescan/commit/ba1f59eef7c902d8d8be650642752053a3771466))
16+
* Update Keyblock Reward tooltip and footer ([#760](https://github.com/aeternity/aescan/issues/760)) ([0d017ed](https://github.com/aeternity/aescan/commit/0d017edc72e1e4dfbb1ed93f24d15fd35a3b2826))
17+
* Update terms and conditions entity ([#759](https://github.com/aeternity/aescan/issues/759)) ([8325f42](https://github.com/aeternity/aescan/commit/8325f42fb86604c4cadbc2f5ebf445e00ca00318))
18+
19+
20+
### Bug Fixes
21+
22+
* nft template listing ([#792](https://github.com/aeternity/aescan/issues/792)) ([8625ca6](https://github.com/aeternity/aescan/commit/8625ca6416e332831ec7db6e0c777a654a9378d4))
23+
* remove invisible noise in background-hero.svg ([#779](https://github.com/aeternity/aescan/issues/779)) ([ef48878](https://github.com/aeternity/aescan/commit/ef48878034606ebfffe28b34f4e0e08be287eab8))
24+
* Replace twitter icon for X ([#747](https://github.com/aeternity/aescan/issues/747)) ([b650cdf](https://github.com/aeternity/aescan/commit/b650cdf1d87b460fecff4db6006f2f824a2a549c))
25+
* Sanitize unhandled version values ([#753](https://github.com/aeternity/aescan/issues/753)) ([90afed8](https://github.com/aeternity/aescan/commit/90afed83a41ad991c42130b599e6f510d58bd748))
26+
327
## [0.12.0](https://github.com/aeternity/aescan/compare/0.11.1...0.12.0) (2024-04-30)
428

529

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ Supports [evergreen](https://nuxt.com/blog/v3#the-browser-and-nodejs-support) br
116116
The core browser set targets the 2 most recent major versions of Chrome, Firefox, and Edge on a monthly basis and Safari
117117
on a yearly basis.
118118

119-
## Tooling
119+
## Testing
120120

121-
This project uses [Applitools Visual AI](https://applitools.com/) as part of its automated testing.
121+
This project uses [Cypress](https://cypress.io/) for e2e testing. Tests can be executed using the command ```yarn e2e:open```.
122122

123123
## Contribution
124124

@@ -134,7 +134,7 @@ get involved!
134134
Stay up-to-date on the latest developments in the æternity ecosystem by following us on social media.
135135

136136
- [Forum](https://forum.aeternity.com/)
137-
- [Twitter](https://twitter.com/aeternity)
137+
- [X](https://x.com/aeternity)
138138
- [Youtube](https://www.youtube.com/@aeternityblockchain)
139139
- [Reddit](https://www.reddit.com/r/Aeternity/)
140140
- [Linkedin](https://www.linkedin.com/company/aeternity)

cypress.config.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { defineConfig } from 'cypress'
2+
3+
export default defineConfig({
4+
env: {
5+
accountAddress: 'ak_gZ55FLJoGEfF5gJ2xJU7j9uSH3fEjoTZq3ygQG8gYA4no6GFW',
6+
contractAddress: 'ct_s5ZB6cGCqS5QbUboQBK8CWwpknKRSajrt8b1EQRp4t4R5D47e',
7+
microblockAddress: 'mh_27HKqcut9U9xDwEAf3Lz6evTxY4rfy7odKeSnQaqu45iQesjyj',
8+
nftAddress: 'ct_2UVjVLvt2NycqbfJWywixyYm68iVvkiVS9wubiQRjp9WeQtfpK',
9+
transactionAddress: 'th_2Yafj84tsuxskvJnzqGcvthrpDUX8gZE84RXVUwXvkSJxmxbc1',
10+
oracleAddress: 'ok_2w2Gkp9mwThn6jWdJi5Leuh3P5Zj7oJ6gyoHa8KnKzWwEVSnKf',
11+
tokenAddress: 'ct_2qyFRzXzTyPCtPKZQ32EPXqxxAcgiWqtADV3amcBVVPYQRKZm7',
12+
stateChannelAddress: 'ch_2Qo4r6u3Bq1ZMnPL7GpjLLsATaEgMK5BnYnoi68hzLL5QuKbev',
13+
name: 'testaensrawpointers.chain',
14+
keyblockId: '947025',
15+
},
16+
e2e: {
17+
baseUrl: 'http://localhost:8080',
18+
experimentalRunAllSpecs: true,
19+
},
20+
viewportWidth: 1280,
21+
viewportHeight: 720,
22+
defaultCommandTimeout: 30000,
23+
})

cypress/e2e/app/accountDetail.cy.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
describe('account detail', () => {
2+
it('should display account detail', () => {
3+
cy.visit(`/accounts/${Cypress.env('accountAddress')}`)
4+
5+
cy.get('.account-details-panel').should('be.visible')
6+
cy.get('.account-activities-panel table').should('be.visible')
7+
8+
cy.contains('.tabs__item', 'Transactions').click()
9+
cy.get('.account-transactions-panel table').should('be.visible')
10+
11+
cy.contains('.tabs__item', 'AENS Names').click()
12+
cy.get('.account-names-panel table').should('be.visible')
13+
14+
cy.contains('.tabs__item', 'Tokens').click()
15+
cy.get('.account-tokens-panel table').should('be.visible')
16+
})
17+
})

cypress/e2e/app/contractDetail.cy.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
describe('contract detail', () => {
2+
it('should display contract detail', () => {
3+
cy.visit(`/contracts/${Cypress.env('contractAddress')}`)
4+
5+
cy.get('.contract-details-panel').should('be.visible')
6+
cy.get('.contract-call-transactions-panel table').should('be.visible')
7+
8+
cy.contains('.tabs__item', 'Events').click()
9+
cy.get('.contract-events-panel table').should('be.visible')
10+
11+
cy.contains('.tabs__item', 'Contract').click()
12+
cy.get('.contract-verified-table').should('be.visible')
13+
cy.get('.code-editor').should('be.visible')
14+
})
15+
})

cypress/e2e/app/contracts.cy.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
describe('contracts', () => {
2+
it('should display contracts', () => {
3+
cy.visit('/contracts')
4+
5+
cy.get('.contracts-table').should('be.visible')
6+
cy.get('.line-chart').should('be.visible')
7+
})
8+
})

cypress/e2e/app/homepage.cy.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
describe('homepage', () => {
2+
it('should display homepage', () => {
3+
cy.visit('/')
4+
5+
cy.get('.stats-panel').should('be.visible')
6+
cy.get('.dashboard-state-channels-panel table').should('be.visible')
7+
cy.get('.dashboard-auctions-panel table').should('be.visible')
8+
cy.get('.dashboard-names-panel table').should('be.visible')
9+
cy.get('.dashboard-keyblock-panel table').should('be.visible')
10+
cy.get('.search-bar').should('be.visible')
11+
})
12+
})

cypress/e2e/app/keyblockDetail.cy.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
describe('keyblock details', () => {
2+
it('should display keyblock detail', () => {
3+
cy.visit(`/keyblocks/${Cypress.env('keyblockId')}`)
4+
5+
cy.get('.keyblock-details-panel__controls').should('be.visible')
6+
cy.get('.keyblock-microblock-panel').should('be.visible')
7+
})
8+
})
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
describe('microblock details', () => {
2+
it('should display microblock detail', () => {
3+
cy.visit(`/microblocks/${Cypress.env('microblockAddress')}`)
4+
5+
cy.get('.microblock-details-panel table').should('be.visible')
6+
cy.get('.microblock-transactions-panel table').should('be.visible')
7+
})
8+
})

0 commit comments

Comments
 (0)