diff --git a/.github/workflows/ci-registrations.yml b/.github/workflows/ci-registrations.yml index c8dee060..dfb4930a 100644 --- a/.github/workflows/ci-registrations.yml +++ b/.github/workflows/ci-registrations.yml @@ -65,6 +65,10 @@ jobs: export DISPLAY=:99 chromedriver & sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & + - name: Wait for Chromedriver + run: sleep 30s + shell: bash + - run: mix test working-directory: registrations - name: Publish test results diff --git a/registrations/assets/package-lock.json b/registrations/assets/package-lock.json index a449e388..be7e7142 100644 --- a/registrations/assets/package-lock.json +++ b/registrations/assets/package-lock.json @@ -7490,6 +7490,29 @@ "integrity": "sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ==", "dev": true }, + "string-replace-loader": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-replace-loader/-/string-replace-loader-3.1.0.tgz", + "integrity": "sha512-5AOMUZeX5HE/ylKDnEa/KKBqvlnFmRZudSOjVJHxhoJg9QYTwl1rECx7SLR8BBH7tfxb4Rp7EM2XVfQFxIhsbQ==", + "dev": true, + "requires": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "dependencies": { + "schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", diff --git a/registrations/assets/package.json b/registrations/assets/package.json index 67aea06f..4f931de1 100644 --- a/registrations/assets/package.json +++ b/registrations/assets/package.json @@ -25,6 +25,7 @@ "optimize-css-assets-webpack-plugin": "^5.0.1", "sass-cubic-bezier-bounding-box": "^1.0.2", "sass-loader": "^8.0.2", + "string-replace-loader": "^3.1.0", "terser-webpack-plugin": "^2.3.2", "three": "^0.77.1", "webpack": "^4.41.5", diff --git a/registrations/assets/webpack.config.js b/registrations/assets/webpack.config.js index 97866608..8f0183b1 100644 --- a/registrations/assets/webpack.config.js +++ b/registrations/assets/webpack.config.js @@ -51,6 +51,14 @@ module.exports = (env, options) => { use: [ MiniCssExtractPlugin.loader, "css-loader", + { + loader: "string-replace-loader", + options: { + search: '@charset "UTF-8";', + replace: "", + flags: "g", + }, + }, { loader: "sass-loader", options: {