Commit 18a0275a authored by Gabriel Monnerat's avatar Gabriel Monnerat

add step to validate if the state of Sale Packing List is changed to stopped as expected

parent 0f417db1
......@@ -5153,6 +5153,13 @@ class TestVifibSlapWebService(testVifibMixin):
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListDelivered
Logout
LoginTestVifibCustomer
StopSoftwareInstanceFromCurrentComputerPartition
Tic
Logout
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListStopped
Logout
"""
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
......@@ -6381,6 +6388,11 @@ class TestVifibSlapWebService(testVifibMixin):
sequence)
software_instance.requestStartComputerPartition()
def stepStopSoftwareInstanceFromCurrentComputerPartition(self, sequence):
software_instance = self._getSoftwareInstanceFromCurrentComputerPartition(
sequence)
software_instance.requestStopComputerPartition()
def stepCheckSalePackingListFromSlaveInstanceAccessUsingSoftwareInstanceUser(self,
sequence):
portal_membership = self.portal.portal_membership
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment