HTML: Test case fails due to late rendering of data by the app on the Confluence page

Description

While executing test cases, encountered timeout issues ( more than 80%) as the GINT test case is getting completed before the page is rendered completely by the Cloud app, hence resulting in failure. The test case should be enhanced such that the test case waits till the time the expected element is found on the rendered page by waiting for a specific time interval. This needs in depth research on selenium part of the test case.

Encountered the following log entry on the GINT console:

1 2 3 4 5 [failed] html1HTMLAttachmentFromSpacePage: Expected data 'Atlassian Plugin Exchange' not found in output: [<div id="html-content" class="page view wiki-content ac-content" style="position: relative;"> <div class="in-progress"><span class="aui-icon aui-icon-wait">Loading...</span><span class="message">Waiting for attachment content fo [reproduce] atlassian confluence23 -a run --action "storePage" --parent "@home" --content " \n \n \n h4. Test \n \n {html1:script=zhtml:home^example.html|output=html} \n \n {html1} \n \n h4. Documentation \n \n || Macro | html1 | \n || Details | {noformat:nopanel=true} \n {html1:script=zhtml:home^example.html|output=html} \n \n {html1} {noformat} | \n " --space "zhtml" --title "html1HTMLAttachmentFromSpacePage" --encoding UTF-8 -a renderPage -f /Users/ravi/sde/development/confluence-html-connect-240/src/itest/gradle/build/output/html/html1HTMLAttachmentFromSpacePage.html --space "zhtml" --title "html1HTMLAttachmentFromSpacePage" --encoding UTF-8

Environment

None

Status

Assignee

Ravi Varma [Appfire]

Reporter

Ravi Varma [Appfire]

Labels

None

Support Entitlement

None

Story Points

3

Components

Priority

Major