From 57235f89b0b0b306692c9e5debd7ecb1517dfa92 Mon Sep 17 00:00:00 2001 From: rina Date: Mon, 26 Aug 2024 22:24:23 +1000 Subject: [PATCH] add final synchronise test --- cypress/e2e/basicspec.cy.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cypress/e2e/basicspec.cy.js b/cypress/e2e/basicspec.cy.js index 7a94ddd..f203100 100644 --- a/cypress/e2e/basicspec.cy.js +++ b/cypress/e2e/basicspec.cy.js @@ -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 => {