Skip to content

Commit 4239fcc

Browse files
revert package.json
1 parent af65704 commit 4239fcc

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

packages/devextreme-cli/testing/app-template.test.shared.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
4747
timeout: 30000,
4848
interval: 100
4949
});
50-
console.log('----waitOn------>');
5150
} catch(e) {
5251
// NOTE jest@27 will fail test, but jest@26 - not
5352
throw new Error(e);
@@ -65,14 +64,11 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
6564
async function openPage(url, options) {
6665
await page.goto('about:blank');
6766
await page.setViewport(viewport);
68-
console.log('----openPage----goto-->', url);
6967
await page.goto(url, {
7068
waitUntil: 'networkidle0',
7169
...options
7270
});
73-
console.log('----openPage--after--goto-waitForSelector->');
74-
// await page.waitForSelector('.with-footer');
75-
console.log('----openPage---waitForSelector--FOUND-->');
71+
await page.waitForSelector('.with-footer');
7672
await page.waitForTimeout(3000);
7773
}
7874

@@ -161,7 +157,7 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
161157
}
162158

163159
describe(`${viewportName}`, () => {
164-
it('Home view', async() => {
160+
fit('Home view', async() => {
165161
await openPage(appUrl, { timeout: 5000 });
166162
await page.reload([{
167163
waitUntil: {

packages/devextreme-cli/testing/dev-server.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ module.exports = class DevServer {
1515
}
1616

1717
async start() {
18-
console.log('--DevServer--start------>', this.env.deployPath);
1918
await this.server.start(this.env.deployPath);
2019
}
2120

@@ -32,14 +31,7 @@ module.exports = class DevServer {
3231
// https://github.com/facebook/create-react-app/issues/3657
3332
env: Object.assign(process.env, { CI: false })
3433
});
35-
await runCommand('cat', ['./dist/my-app/browser/index.html'], {
36-
cwd: this.env.appPath,
37-
});
38-
39-
console.log('-----devServer build---OK-->');
40-
4134
} catch(e) {
42-
console.log('-----ERROR in devServer build----->', e);
4335
throw new Error(e);
4436
}
4537
}

0 commit comments

Comments
 (0)