#NEWLINE# def testGenerateArchiveButtonGetsDisabledAfterClick( self ) : #NEWLINE# #INDENT# pathspec = rdf_paths . PathSpec ( path = os . path . join ( self . base_path , 'test.plist' ) , pathtype = rdf_paths . PathSpec . PathType . OS ) #NEWLINE# with self . ACLChecksDisabled ( ) : #NEWLINE# #INDENT# for _ in test_lib . TestFlowHelper ( 'GetFile' , self . action_mock , client_id = self . client_id , pathspec = pathspec , token = self . token ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# self . Open ( '/#c=C.0000000000000001' ) #NEWLINE# self . Click ( "css=a:contains('Manage launched flows')" ) #NEWLINE# self . Click ( "css=td:contains('GetFile')" ) #NEWLINE# self . Click ( 'link=Results' ) #NEWLINE# self . Click ( 'css=button.DownloadButton' ) #NEWLINE# self . WaitUntil ( self . IsElementPresent , 'css=button.DownloadButton[disabled]' ) #NEWLINE# self . WaitUntil ( self . IsTextPresent , 'Generation has started' )