Skip to content

Commit 3ebad54

Browse files
revert wip changes
1 parent 4239fcc commit 3ebad54

File tree

5 files changed

+21
-31
lines changed

5 files changed

+21
-31
lines changed

.github/workflows/applications.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,8 @@ jobs:
6666
env:
6767
LAUNCH_BROWSER: true
6868
CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }}
69-
run: |
70-
pwd
71-
npm run test-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
72-
73-
timeout-minutes: 10
69+
run: npm run test-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
70+
timeout-minutes: 30
7471

7572
- name: Archive artifacts
7673
if: ${{ failure() }}
@@ -81,7 +78,6 @@ jobs:
8178
test-results.xml
8279
packages/devextreme-cli/testing/__tests__/__diff_snapshots__
8380
packages/devextreme-cli/testing/sandbox/logs
84-
packages/devextreme-cli/testing/sandbox/angular/my-app/dist/my-app
8581
8682
merge-artifacts:
8783
runs-on: ubuntu-latest

packages/devextreme-cli/src/utility/run-command.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ module.exports = function(commandName, args = [], customConfig = {}) {
2121

2222
return new Promise((resolve, reject) => {
2323
proc.on('exit', (code) => {
24-
if(code) {
25-
console.log('----error runCommand------>', code);
26-
}
2724
code ? reject(code) : resolve({ proc });
2825
});
2926

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
157157
}
158158

159159
describe(`${viewportName}`, () => {
160-
fit('Home view', async() => {
160+
it('Home view', async() => {
161161
await openPage(appUrl, { timeout: 5000 });
162162
await page.reload([{
163163
waitUntil: {
@@ -180,10 +180,8 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
180180
compareSnapshot(image, 'home');
181181
});
182182

183-
fit('Profile view', async() => {
184-
console.log('---START TEST------->', getPageURL('profile'));
183+
it('Profile view', async() => {
185184
await openPage(getPageURL('profile'));
186-
187185
await page.waitForTimeout(3000);
188186

189187
const image = await takeScreenshot();

packages/devextreme-cli/testing/constants.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@ exports.viewports = {
1414
width: 1280,
1515
height: 1024,
1616
},
17-
/* small: {
18-
width: 667,
19-
height: 375,
20-
isMobile: true,
21-
hasTouch: true,
22-
isLandscape: true
23-
},
24-
xsmall: {
25-
width: 320,
26-
height: 568,
27-
isMobile: true,
28-
hasTouch: true,
29-
}*/
17+
/* small: {
18+
width: 667,
19+
height: 375,
20+
isMobile: true,
21+
hasTouch: true,
22+
isLandscape: true
23+
},
24+
xsmall: {
25+
width: 320,
26+
height: 568,
27+
isMobile: true,
28+
hasTouch: true,
29+
}*/
3030
};
3131

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

3838
exports.layouts = [
3939
'side-nav-outer-toolbar',
40-
/* 'side-nav-inner-toolbar'*/
40+
'side-nav-inner-toolbar'
4141
];
4242

4343
exports.swatchModes = {

packages/devextreme-cli/testing/creating.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const args = minimist(process.argv.slice(2), {
2222
try {
2323
await env.createApp(depsVersionTag);
2424
} catch(e) {
25-
console.log('--------ERROR-->', e);
2625
process.exit(1);
2726
}
2827
});

0 commit comments

Comments
 (0)