getgauge / taiko

A node.js library for testing modern web applications
https://taiko.dev
MIT License
3.56k stars 452 forks source link

Dashboard page is blank when loaded through the embedded Chromium #2713

Open sushil-relicx opened 9 months ago

sushil-relicx commented 9 months ago

Describe the bug The application home page loads as blank intermittently when loaded via the embedded Chromium browser (Version 110.0.5478.0 (Developer Build) (x86_64). The same page loads fine when using Chrome or Chrome Canary

To Reproduce Run the script a few times and look at the screenshot named "dashboard.png'

const { openBrowser, goto, click, closeBrowser } = require('taiko');
(async () => {
    try {
        await openBrowser();
        await goto ("https://amplify.platform.haleymktg.com/");
        await screenshot({path: './login_page.png'});
        await click ('Continue');
        await click ('Login as Admin');
        await waitFor('5000');
        await screenshot({path: './dashboard.png'});
    } catch (error) {
        console.error(error);
    } finally {
        await closeBrowser();
    }
})();

Paste any log or error messages here

Expected behavior The page should load as shown here

image

Screenshots But this is the screenshot captured by Taiko

image

Versions: