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): ...@@ -5153,6 +5153,13 @@ class TestVifibSlapWebService(testVifibMixin):
LoginDefaultUser LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListDelivered CheckComputerPartitionInstanceHostingSalePackingListDelivered
Logout Logout
LoginTestVifibCustomer
StopSoftwareInstanceFromCurrentComputerPartition
Tic
Logout
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListStopped
Logout
""" """
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
...@@ -6381,6 +6388,11 @@ class TestVifibSlapWebService(testVifibMixin): ...@@ -6381,6 +6388,11 @@ class TestVifibSlapWebService(testVifibMixin):
sequence) sequence)
software_instance.requestStartComputerPartition() software_instance.requestStartComputerPartition()
def stepStopSoftwareInstanceFromCurrentComputerPartition(self, sequence):
software_instance = self._getSoftwareInstanceFromCurrentComputerPartition(
sequence)
software_instance.requestStopComputerPartition()
def stepCheckSalePackingListFromSlaveInstanceAccessUsingSoftwareInstanceUser(self, def stepCheckSalePackingListFromSlaveInstanceAccessUsingSoftwareInstanceUser(self,
sequence): sequence):
portal_membership = self.portal.portal_membership 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