Skip to content

Commit 4907fb3

Browse files
authored
Fix tests blinking (#157)
* Store logs * Wait for page content before when opening new page
1 parent a3816d2 commit 4907fb3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ jobs:
1313
- run:
1414
name: Run test
1515
command: npm run test
16+
no_output_timeout: 15m
1617
- store_artifacts:
1718
path: test-results.xml
1819
prefix: tests
1920
- store_artifacts:
2021
path: ./packages/devextreme-cli/testing/__tests__/__diff_snapshots__
22+
- store_artifacts:
23+
path: ./packages/devextreme-cli/testing/sandbox/logs

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ module.exports = (env) => {
6161
timeout: 0,
6262
waitUntil: 'networkidle0'
6363
});
64+
await page.waitFor('.full-height-scrollable, .with-footer', {
65+
timeout: 0
66+
});
6467

6568
return page;
6669
}

0 commit comments

Comments
 (0)