fix(game-frontend): 토너먼트 새 창 닫기를 복원한다
토너먼트와 베팅장 공통 헤더의 창 닫기가 메인 라우트로 이동하지 않고 Ref처럼 현재 보조 창을 닫도록 변경한다. noopener 새 창에서 두 경로를 닫고 원래 창이 유지되는 Chromium 회귀 테스트를 추가한다.
This commit is contained in:
@@ -39,6 +39,8 @@ void describe('shared Lumen button family', () => {
|
||||
for (const label of ['토너먼트', '베팅장', '창 닫기']) {
|
||||
assert.match(tournamentHeader, new RegExp(`legacy-button[\\s\\S]{0,260}${label}`, 'u'));
|
||||
}
|
||||
assert.match(tournamentHeader, /const closeWindow = \(\): void => window\.close\(\)/u);
|
||||
assert.doesNotMatch(tournamentHeader, /custom to="\/"/u);
|
||||
assert.match(reservedEditor, /legacy-button legacy-button--info legacy-button--fixed-height select-command/u);
|
||||
assert.match(reservedEditor, /명령 선택 ▾/u);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user