Skip to content

Commit 2fcb897

Browse files
author
NarrowsProjects
committed
2nd
1 parent 4e439fc commit 2fcb897

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

test/public/envs/detailsPage.test.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,17 @@ module.exports = () => {
8787
});
8888

8989
it('should successfully provide a tab to display related logs', async () => {
90-
await waitForNavigation(page, () => pressElement(page, '#row8E4aZTjY a:first-of-type'));
91-
await pressElement(page, '#logs-tab');
90+
try {
91+
await waitForNavigation(page, () => pressElement(page, '#row8E4aZTjY a:first-of-type'));
92+
} catch (error) {
93+
const html = await page.content();
9294

95+
console.log(html);
96+
throw error;
97+
}
98+
99+
await pressElement(page, '#logs-tab');
100+
93101
const tableSelector = '#logs-pane table tbody tr';
94102
await page.waitForSelector(tableSelector);
95103

0 commit comments

Comments
 (0)