def test_splinter_add_issue_HHH_1052(self):
     add_initial_projects()
     self.app.login_plain(td.userDict1)
     try:
         offerDict = td.buildDefaultOfferDict14('https://hibernate.onjira.com/browse/HHH-1052')
         self.app.addOffer(offerDict)
         assert(self.app.is_text_present('[ Offer ] US$ 10.00 for issue - Allow CalendarType.set to accept Date objects'))
         self.app.followIssueLinkOnHomeByTitle('Allow CalendarType.set to accept Date objects')
         self.app.followOfferLinkByValue(offerDict['step4']['price'])
     except:
         traceback.print_exc()
         sleep(waitifbreak)
         raise
    def test_splinter_kickstart_jira_HHH0152_from_addNewIssuePage(self):
        add_initial_projects()
        self.app.login_plain(td.userDict1)
        try:
            offerDict = td.buildDefaultOfferDict14('https://hibernate.onjira.com/browse/HHH-1052')
            del offerDict['step4']
            self.app.sponsorOrKickstartIssue_from_newIssuePage(offerDict, kickstarting=True)
            assert(self.app.is_text_present('Allow CalendarType.set to accept Date objects'))
            self.app.followIssueLinkOnHomeByTitle('Allow CalendarType.set to accept Date objects')
#            self.app.followOfferLinkByValue(offerDict['step4']['price'])
        except:
            traceback.print_exc()
            sleep(waitifbreak)
            raise
Ejemplo n.º 3
0
 def test_splinter_add_issue_HHH_1052(self):
     add_initial_projects()
     self.app.login_plain(td.userDict1)
     try:
         offerDict = td.buildDefaultOfferDict14(
             'https://hibernate.onjira.com/browse/HHH-1052')
         self.app.addOffer(offerDict)
         assert (self.app.is_text_present(
             '[ Offer ] US$ 10.00 for issue - Allow CalendarType.set to accept Date objects'
         ))
         self.app.followIssueLinkOnHomeByTitle(
             'Allow CalendarType.set to accept Date objects')
         self.app.followOfferLinkByValue(offerDict['step4']['price'])
     except:
         traceback.print_exc()
         sleep(waitifbreak)
         raise
Ejemplo n.º 4
0
    def test_splinter_kickstart_jira_HHH0152_from_addNewIssuePage(self):
        add_initial_projects()
        self.app.login_plain(td.userDict1)
        try:
            offerDict = td.buildDefaultOfferDict14(
                'https://hibernate.onjira.com/browse/HHH-1052')
            del offerDict['step4']
            self.app.sponsorOrKickstartIssue_from_newIssuePage(
                offerDict, kickstarting=True)
            assert (self.app.is_text_present(
                'Allow CalendarType.set to accept Date objects'))
            self.app.followKickstartingIssueLinkOnHomeByTitle(
                'Allow CalendarType.set to accept Date objects')
#            self.app.followOfferLinkByValue(offerDict['step4']['price'])
        except:
            traceback.print_exc()
            sleep(waitifbreak)
            raise