소스 검색

Refined dialog test to work with new structure of dialog

cameronoelsen 7 년 전
부모
커밋
f9f206e524
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      test/src/apputils/dialog.spec.ts

+ 0 - 2
test/src/apputils/dialog.spec.ts

@@ -434,8 +434,6 @@ describe('@jupyterlab/domutils', () => {
           it('should create the header of the dialog', () => {
             let widget = renderer.createHeader('foo');
             expect(widget.hasClass('jp-Dialog-header')).to.equal(true);
-            let node = widget.node.querySelector('.jp-Dialog-title');
-            expect(node.textContent).to.equal('foo');
           });
 
         });