Skip to content

Commit 7cbbd7e

Browse files
wip. check test
1 parent 59e60ee commit 7cbbd7e

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

.github/workflows/applications.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
APPROACH:
2020
# - angular
21-
# - vue-v3
21+
- vue-v3
2222
- react
2323
# - react-ts
2424
# - react-swc

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
2929
let devServer;
3030
let appUrl;
3131
const getPageURL = (name) => `${appUrl}${(env.engine.indexOf('nextjs') !== 0 ? '#/' : '')}${pageUrls[name]}`;
32-
console.log('----currentPort------>', port);
3332

3433
beforeAll(async() => {
3534
browser = await getBrowser();
@@ -38,7 +37,6 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
3837
devServer = new DevServer(env, { port });
3938

4039
try {
41-
console.log('----beforeAll--wait-->', port);
4240
await devServer.setLayout(layout);
4341
await devServer.setTheme(theme);
4442
await devServer.build();
@@ -48,10 +46,8 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
4846
timeout: 30000,
4947
interval: 100
5048
});
51-
console.log('-----SERVER READY----->');
5249
} catch(e) {
5350
// NOTE jest@27 will fail test, but jest@26 - not
54-
console.log('-----ERROR----->', e);
5551
throw new Error(e);
5652
}
5753
});
@@ -65,16 +61,12 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
6561
const viewport = viewports[viewportName];
6662

6763
async function openPage(url, options) {
68-
console.log('----openPage------>');
6964
await page.goto('about:blank');
70-
console.log('----openPage----setViewport-->');
7165
await page.setViewport(viewport);
72-
console.log('----openPage----goto-->', url);
7366
await page.goto(url, {
7467
waitUntil: 'networkidle0',
7568
...options
7669
});
77-
console.log('----openPage----waitForSelector(\'.with-footer\')-->');
7870
await page.waitForSelector('.with-footer');
7971
await page.waitForTimeout(3000);
8072
}

packages/devextreme-cli/testing/constants.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ exports.viewports = {
2121
hasTouch: true,
2222
isLandscape: true
2323
},
24-
/* xsmall: {
24+
xsmall: {
2525
width: 320,
2626
height: 568,
2727
isMobile: true,
2828
hasTouch: true,
29-
}*/
29+
}
3030
};
3131

3232
exports.themes = {
3333
material: 'material.blue',
34-
/* generic: 'generic',*/
34+
generic: 'generic',
3535
fluent: 'fluent.blue'
3636
};
3737

packages/devextreme-cli/testing/env.nextjs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ function getConfig({ engine, template, fileExtension, templateExtension, transpi
5252
};
5353

5454
config.setLayout = (layoutName) => {
55-
console.log('------setLayout---->', layoutName);
5655
const regexToFind = /SideNav\w+Toolbar as SideNavBarLayout/g;
5756
const newSubStr = `${classify(layoutName)} as SideNavBarLayout`;
5857
const data = fs.readFileSync(appLayoutPath, 'utf8');

0 commit comments

Comments
 (0)