diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7252781089..a1cfa639b6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -43,20 +43,17 @@ jobs: - name: Test embedded lgv run: | yarn - yarn build - yarn test:e2e + yarn e2e working-directory: component_tests/lgv - name: Test embedded cgv run: | yarn - yarn build - yarn test:e2e + yarn e2e working-directory: component_tests/cgv - name: Test embedded react-app run: | yarn - yarn build - yarn test:e2e + yarn e2e working-directory: component_tests/react-app buildjbrowseweb: diff --git a/component_tests/cgv/cypress/e2e/basic.cy.ts b/component_tests/cgv/cypress/e2e/basic.cy.ts index b16c88cf4d..6bfedc44d5 100644 --- a/component_tests/cgv/cypress/e2e/basic.cy.ts +++ b/component_tests/cgv/cypress/e2e/basic.cy.ts @@ -2,6 +2,6 @@ describe('JBrowse embedded circular view', () => { it('track loads', () => { cy.visit('/') - cy.findByTestId('chord-1148282975-vcf-63189', { timeout: 30000 }) + cy.findByTestId('chord--470870972-vcf-62853', { timeout: 30000 }) }) }) diff --git a/component_tests/cgv/package.json b/component_tests/cgv/package.json index 85e97b7f70..83b6ac9332 100644 --- a/component_tests/cgv/package.json +++ b/component_tests/cgv/package.json @@ -52,7 +52,8 @@ "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", - "test:e2e": "start-test 'serve --listen 5000 build/' 5000 'cypress run --headless --browser chrome'" + "pree2e": "yarn build", + "e2e": "start-test 'serve --listen 5000 build/' 5000 'cypress run --headless --browser chrome'" }, "eslintConfig": { "extends": [ @@ -72,5 +73,8 @@ "last 1 safari version" ] }, - "homepage": "." + "homepage": ".", + "devDependencies": { + "@babel/plugin-proposal-private-property-in-object": "^7.21.11" + } } diff --git a/component_tests/lgv/package.json b/component_tests/lgv/package.json index a0a7c3f5b5..61134e472e 100644 --- a/component_tests/lgv/package.json +++ b/component_tests/lgv/package.json @@ -51,7 +51,8 @@ "build": "craco build", "test": "craco test", "eject": "craco eject", - "test:e2e": "start-test 'serve --listen 5000 build/' 5000 'cypress run --headless --browser chrome'" + "pree2e": "yarn build", + "e2e": "start-test 'serve --listen 5000 build/' 5000 'cypress run --headless --browser chrome'" }, "eslintConfig": { "extends": [ @@ -71,5 +72,8 @@ "last 1 safari version" ] }, - "homepage": "." + "homepage": ".", + "devDependencies": { + "@babel/plugin-proposal-private-property-in-object": "^7.21.11" + } } diff --git a/component_tests/react-app/package.json b/component_tests/react-app/package.json index c3f6ebef4f..3b6565950b 100644 --- a/component_tests/react-app/package.json +++ b/component_tests/react-app/package.json @@ -64,7 +64,8 @@ "build": "craco build", "test": "craco test", "eject": "craco eject", - "test:e2e": "start-test 'serve --listen 5000 build/' 5000 'cypress run --headless --browser chrome'" + "pree2e": "yarn build", + "e2e": "start-test 'serve --listen 5000 build/' 5000 'cypress run --headless --browser chrome'" }, "eslintConfig": { "extends": [ @@ -84,5 +85,8 @@ "last 1 safari version" ] }, - "homepage": "." + "homepage": ".", + "devDependencies": { + "@babel/plugin-proposal-private-property-in-object": "^7.21.11" + } }