Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable flags in JIRA when integration test with page object!

Nhac Tat Nguyen
Contributor
August 15, 2018

Hi there,

I'm writing an integration test for my plugin (JIRA Server).

My test simply goes to the "ViewCustomFields" page and clicks the "Add custom field" button.

My problem is that the "Add custom field" button is obscured by the flags, and the page object can not click on it. So, does anyone know any ways that can eliminate those flags? Please let me know.

Thank you!Capture.PNG

1 answer

1 accepted

0 votes
Answer accepted
Nhac Tat Nguyen
Contributor
January 9, 2019

I did it by edit Announcement Banner, add my css style into it:

<style type="text/css">
#aui-flag-container {
     display:none !important;
    }
    .jira-help-tip {
        display:none !important;
    }
</style>

 Link to Edit Announcement Banner page: 

[your_address]/jira/secure/admin/EditAnnouncementBanner!default.jspa

Suggest an answer

Log in or Sign up to answer