Commit 3976a6e8 authored by Gabriel Monnerat's avatar Gabriel Monnerat

add steps to test_Person_request_SlaveInstance_with_Different_User. This test...

add steps to test_Person_request_SlaveInstance_with_Different_User. This test is to check if user B can declare a slot of slave instance in computer partition used by user A
parent 12d8ccbe
...@@ -4230,7 +4230,9 @@ class TestVifibSlapWebService(testVifibMixin): ...@@ -4230,7 +4230,9 @@ class TestVifibSlapWebService(testVifibMixin):
# SlaveInstance.request # SlaveInstance.request
######################################### #########################################
@skip("Not Implemented yet") def stepLoginAsCustomerA(self, sequence):
self.login("vifib_customer_user_a")
def test_Person_request_SlaveInstance_with_Different_User(self): def test_Person_request_SlaveInstance_with_Different_User(self):
""" """
Check that user A can declare a slot of slave partition on a machine Check that user A can declare a slot of slave partition on a machine
...@@ -4239,9 +4241,19 @@ class TestVifibSlapWebService(testVifibMixin): ...@@ -4239,9 +4241,19 @@ class TestVifibSlapWebService(testVifibMixin):
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = self.prepare_install_requested_computer_partition_sequence_string + """ sequence_string = self.prepare_install_requested_computer_partition_sequence_string + """
Tic Tic
CreateAnotherUserAsCustomer LoginAsCustomerA
LoginAsCustomer
PersonRequestSlaveInstance PersonRequestSlaveInstance
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
Logout
LoginAsCustomerA
CheckComputerPartitionSaleOrderAggregatedList
Logout
""" """
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
...@@ -4259,7 +4271,6 @@ class TestVifibSlapWebService(testVifibMixin): ...@@ -4259,7 +4271,6 @@ class TestVifibSlapWebService(testVifibMixin):
Logout Logout
LoginDefaultUser LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense ConfirmOrderedSaleOrderActiveSense
Tic Tic
SetSelectedComputerPartition SetSelectedComputerPartition
......
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