After tests wait for browser close
This commit is contained in:
@@ -18,9 +18,7 @@ const height = 600;
|
|||||||
describe('WebGL Renderer Integration Tests', function(): void {
|
describe('WebGL Renderer Integration Tests', function(): void {
|
||||||
this.timeout(20000);
|
this.timeout(20000);
|
||||||
|
|
||||||
after(() => {
|
after(async () => browser.close());
|
||||||
browser.close();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('dispose removes renderer canvases', async () => {
|
it('dispose removes renderer canvases', async () => {
|
||||||
await setupBrowser();
|
await setupBrowser();
|
||||||
@@ -31,10 +29,7 @@ describe('WebGL Renderer Integration Tests', function(): void {
|
|||||||
|
|
||||||
describe('colors', () => {
|
describe('colors', () => {
|
||||||
before(async () => setupBrowser());
|
before(async () => setupBrowser());
|
||||||
|
beforeEach(async () => page.evaluate(`window.term.reset()`));
|
||||||
beforeEach(async () => {
|
|
||||||
await page.evaluate(`window.term.reset()`);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('foreground colors normal', async () => {
|
it('foreground colors normal', async () => {
|
||||||
const theme: ITheme = {
|
const theme: ITheme = {
|
||||||
|
|||||||
Reference in New Issue
Block a user