diff --git a/.gitignore b/.gitignore index 41837b6758..ca04c5b700 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ node_modules .npmrc /dist /dist-demo +/dist-site /release /libs /jd/upload.js @@ -53,4 +54,7 @@ pnpm-lock.*.yaml *.sw? # vitest -/html \ No newline at end of file +/html + +# Harmony CSS files +src/packages/**/*.harmony.css \ No newline at end of file diff --git a/cypress/e2e/h5/index.cy.js b/cypress/e2e/h5/index.cy.js index ef142a6588..e21f1b20e6 100644 --- a/cypress/e2e/h5/index.cy.js +++ b/cypress/e2e/h5/index.cy.js @@ -8,6 +8,6 @@ import { checkH5Blank } from '../common/pageWhiteTest.cy' // import './exhibition.cy' // import './feedback.cy' -describe('All Taro Demos White Page Test', () => { +describe('All H5 Demos White Page Test', () => { checkH5Blank() }) diff --git a/cypress/e2e/utils/visit-demo.cy.js b/cypress/e2e/utils/visit-demo.cy.js index 4825dafccf..d533867d2a 100644 --- a/cypress/e2e/utils/visit-demo.cy.js +++ b/cypress/e2e/utils/visit-demo.cy.js @@ -1,5 +1,6 @@ export const visitH5Demo = (componentName, delay = 500) => { - const getPath = () => `${Cypress.env('baseUrl')}${componentName}` + const getPath = () => + `http://localhost:5173/react/demo.html#/zh-CN/component/${componentName.toLowerCase()}` cy.visit(getPath(componentName), { onBeforeLoad: (win) => { Object.defineProperty(win.navigator, 'userAgent', { diff --git a/index.html b/index.html index 47e045264c..738380c63b 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@ continue.
- + + + + + + + + + + + + + + + +