Skip to content

Commit

Permalink
add final synchronise test
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Aug 26, 2024
1 parent e81e2f4 commit 57235f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cypress/e2e/basicspec.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ describe('aslp-web tests', () => {
});
});

it('synchronises with little-endian input', () => {
cy.aslpweb().then(() => {
cy.getByLabel('little-endian').type('{selectall}41 00 03 AA').then(x => {
cy.getByLabel('big-endian').should('have.value', '0xaa030041');
cy.getByLabel('assembly').should('have.value', 'orr x1, x2, x3');
});
});
});

it('synchronises with asm input', () => {
cy.aslpweb().then(() => {
cy.getByLabel('assembly').type('{selectall}orr x1, x2, x3').then(x => {
Expand Down

0 comments on commit 57235f8

Please sign in to comment.