2
This module contains the definition of the test suite for Shotwell testing.
5
from .main import SingleApplicationTestSuite
6
from ..application.shotwell import Application, Shotwell
8
class ShotwellTestSuite(SingleApplicationTestSuite):
10
Default test suite for Shotwell
12
APPLICATION_FACTORY = Shotwell
14
self.application.open()
18
shotwell = ooldtp.context(self.application.name)
19
selectall = shotwell.getchild(self.application.MNU_SELECTALL)
20
selectall.selectmenuitem()
21
delete = shotwell.getchild(self.application.MNU_DELETE)
22
delete.selectmenuitem()
23
emptytrash = shotwell.getchild(self.application.MNU_EMPTYTRASH)
24
emptytrash.selectmenuitem()
26
ldtp.waittillguiexist(self.application.DLG_WARNING)
28
warning = ooldtp.context(self.application.DLG_WARNING)
30
onlyremove = warning.getchild(self.application.BTN_ONLYREMOVE)
33
ldtp.waittillguinotexist(self.application.DLG_WARNING)
34
self.application.close()
b'\\ No newline at end of file'