Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e7b208

Browse files
authored
fix(site): e2e: print API backend calls (#12051)
1 parent1abe0cf commit4e7b208

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎site/e2e/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const beforeCoderTest = async (page: Page) => {
2323

2424
constshouldLogResponse=
2525
!response.url().endsWith("/api/v2/deployment/config")&&
26-
!response.url().endsWith("/api/v2/debug/health");
26+
!response.url().endsWith("/api/v2/debug/health?force=false");
2727

2828
letresponseText="";
2929
try{

‎site/e2e/reporter.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ class CoderReporter implements Reporter {
3030
}
3131

3232
onStdOut(chunk:string,test?:TestCase,_?:TestResult):void{
33+
for(constlineoffilteredServerLogLines(chunk)){
34+
console.log(`[stdout]${line}`);
35+
}
3336
if(!test){
34-
for(constlineoffilteredServerLogLines(chunk)){
35-
console.log(`[stdout]${line}`);
36-
}
3737
return;
3838
}
3939
this.testOutput.get(test.id)!.push([process.stdout,chunk]);
4040
}
4141

4242
onStdErr(chunk:string,test?:TestCase,_?:TestResult):void{
43+
for(constlineoffilteredServerLogLines(chunk)){
44+
console.error(`[stderr]${line}`);
45+
}
4346
if(!test){
44-
for(constlineoffilteredServerLogLines(chunk)){
45-
console.error(`[stderr]${line}`);
46-
}
4747
return;
4848
}
4949
this.testOutput.get(test.id)!.push([process.stderr,chunk]);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp