mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #9050 from overleaf/ii-cypress-artifacts
Upload cypress artifacts to Google bucket GitOrigin-RevId: e43ab9259f2cd4030d5edbf35825251bc2804e45
This commit is contained in:
parent
2cbc682d3b
commit
6452f73aab
2 changed files with 9 additions and 4 deletions
|
@ -3,7 +3,10 @@ import { webpackConfig } from './cypress/support/webpack.cypress'
|
|||
|
||||
export default defineConfig({
|
||||
fixturesFolder: 'cypress/fixtures',
|
||||
video: false,
|
||||
video: true,
|
||||
screenshotsFolder: 'cypress/results',
|
||||
videosFolder: 'cypress/results',
|
||||
videoUploadOnPasses: false,
|
||||
viewportHeight: 800,
|
||||
viewportWidth: 800,
|
||||
component: {
|
||||
|
|
|
@ -73,10 +73,12 @@ services:
|
|||
BUILD_NUMBER: $BUILD_NUMBER
|
||||
CYPRESS_IMAGE: $CYPRESS_IMAGE
|
||||
working_dir: /overleaf/services/web
|
||||
entrypoint: npm
|
||||
entrypoint: bash
|
||||
volumes:
|
||||
- ./cypress/results:/overleaf/services/web/cypress/results/
|
||||
command:
|
||||
- "run"
|
||||
- "cypress:run-ct"
|
||||
- "-c"
|
||||
- "if npm run cypress:run-ct; then exit 0; else mkdir -p ./cypress/results && touch ./cypress/results/.cypress_fail; fi;"
|
||||
|
||||
tar:
|
||||
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER-webpack
|
||||
|
|
Loading…
Reference in a new issue