Skip to content

Commit 47553ac

Browse files
committed
test: check failing tests
1 parent 65d2a2e commit 47553ac

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -129,24 +129,24 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
129129
// so we are hiding the footer before taking screenshots to prevent
130130
// false failures. Moving forward, we need to investigate the cause
131131
// of this effect.
132-
async function hideFooter() {
133-
await page.evaluate(() => {
134-
/* eslint-disable no-undef */
135-
const footer = document.getElementsByTagName('app-footer')[0]
136-
|| document.getElementsByTagName('footer')[0];
137-
138-
if(footer) {
139-
footer.style = {
140-
...(footer.style || {}),
141-
transition: 'none',
142-
display: 'none'
143-
};
144-
footer.className += ' dx-state-invisible';
145-
}
146-
/* eslint-enable no-undef */
147-
});
148-
await page.waitForTimeout(3000);
149-
}
132+
// async function hideFooter() {
133+
// await page.evaluate(() => {
134+
// /* eslint-disable no-undef */
135+
// const footer = document.getElementsByTagName('app-footer')[0]
136+
// || document.getElementsByTagName('footer')[0];
137+
138+
// if(footer) {
139+
// footer.style = {
140+
// ...(footer.style || {}),
141+
// transition: 'none',
142+
// display: 'none'
143+
// };
144+
// footer.className += ' dx-state-invisible';
145+
// }
146+
// /* eslint-enable no-undef */
147+
// });
148+
// await page.waitForTimeout(3000);
149+
// }
150150

151151
async function takeScreenshot(options) {
152152
// await hideFooter();

0 commit comments

Comments
 (0)