@@ -41,31 +41,39 @@ jobs:
41
41
# NOTE: bazel test //... doesn't work (due to node_modules)
42
42
run : bazel test //mesop/...
43
43
- name : Run playwright test (prod mode)
44
- run : yarn playwright test
44
+ run : PLAYWRIGHT_HTML_OUTPUT_DIR=playwright-report-prod-mode yarn playwright test
45
45
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
46
46
if : always()
47
47
with :
48
48
name : playwright-report-prod-mode
49
49
path : playwright-report-prod-mode/
50
50
retention-days : 30
51
51
- name : Run playwright test (debug/editor mode)
52
- run : MESOP_DEBUG_MODE=true yarn playwright test
52
+ run : MESOP_DEBUG_MODE=true PLAYWRIGHT_HTML_OUTPUT_DIR=playwright-report-debug-mode yarn playwright test
53
53
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
54
54
if : always()
55
55
with :
56
56
name : playwright-report-debug-mode
57
57
path : playwright-report-debug-mode/
58
58
retention-days : 30
59
59
- name : Run playwright test (concurrency)
60
- run : yarn playwright test mesop/tests/e2e/concurrency/state_test.ts --repeat-each=48 --workers=16
60
+ run : PLAYWRIGHT_HTML_OUTPUT_DIR=playwright-report-concurrency yarn playwright test mesop/tests/e2e/concurrency/state_test.ts --repeat-each=48 --workers=16
61
61
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
62
62
if : always()
63
63
with :
64
64
name : playwright-report-concurrency
65
65
path : playwright-report-concurrency/
66
66
retention-days : 30
67
+ - name : Run playwright test with concurrent updates enabled
68
+ run : MESOP_CONCURRENT_UPDATES_ENABLED=true PLAYWRIGHT_HTML_OUTPUT_DIR=playwright-report-with-concurrent-updates-enabled yarn playwright test
69
+ - uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
70
+ if : always()
71
+ with :
72
+ name : playwright-report-with-concurrent-updates-enabled
73
+ path : playwright-report-with-concurrent-updates-enabled/
74
+ retention-days : 30
67
75
- name : Run playwright test with memory state session
68
- run : MESOP_STATE_SESSION_BACKEND=memory yarn playwright test
76
+ run : MESOP_STATE_SESSION_BACKEND=memory PLAYWRIGHT_HTML_OUTPUT_DIR=playwright-report-with-memory-state-session yarn playwright test
69
77
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
70
78
if : always()
71
79
with :
0 commit comments