diff --git a/addons/crm/test/test_crm_lead.yml b/addons/crm/test/test_crm_lead.yml index 1843fc6897d..92c01b5d8ea 100644 --- a/addons/crm/test/test_crm_lead.yml +++ b/addons/crm/test/test_crm_lead.yml @@ -61,7 +61,7 @@ !assert {model: crm.lead, id: crm_lead_newcustomer0, string: Lead in open state}: - state == "open" - - Now, Find id for case object. + I search id for case object. - !python {model: crm.case.categ}: | self._find_object_id(cr, uid, context) @@ -76,7 +76,7 @@ assert action['res_model'] == 'crm.lead2opportunity.partner' - | - Now, select "create a new partner" option in this wizard. + I select "create a new partner" option in this wizard. - !record {model: crm.lead2opportunity.partner, id: crm_lead2opportunity_partner_create_0}: action: 'create' @@ -88,7 +88,7 @@ self.action_apply(cr, uid, [ref("crm_lead2opportunity_partner_create_0")], {'active_ids': [ref("crm_lead_newcustomer0")], 'active_id': ref("crm_lead_newcustomer0")}) - | - Now, select "Link to an existing partner" option in this wizard. + I select "Link to an existing partner" option in this wizard. - !record {model: crm.lead2opportunity.partner, id: crm_lead2opportunity_partner_create_1}: action: 'exist' @@ -100,7 +100,7 @@ self.action_apply(cr, uid, [ref("crm_lead2opportunity_partner_create_1")], {'active_ids': [ref("crm_lead_newcustomer0")], 'active_id': ref("crm_lead_newcustomer0")}) - | - Now, select "Do not link to a partner" option in this wizard. + I select "Do not link to a partner" option in this wizard. - !record {model: crm.lead2opportunity.partner, id: crm_lead2opportunity_partner_create_2}: action: 'nothing' diff --git a/addons/crm/test/test_crm_lead_case2.yml b/addons/crm/test/test_crm_lead_case2.yml index 111f63ec01d..c8712d861d4 100644 --- a/addons/crm/test/test_crm_lead_case2.yml +++ b/addons/crm/test/test_crm_lead_case2.yml @@ -70,7 +70,7 @@ self.on_change_optout(cr, uid, ref("crm_lead_democustomer"), True) - - Now I change the Opt-out to Opt-in to show email receive preference. + I change the Opt-out to Opt-in to show email receive preference. - !python {model: crm.lead}: | self.on_change_optin(cr, uid, ref("crm_lead_democustomer"), True) @@ -85,7 +85,7 @@ !assert {model: crm.lead, id: crm_lead_democustomer, string: Lead in open state}: - state == "open" - - Now i reset the lead "Demo Customer". + I reset the lead "Demo Customer". - !python {model: crm.lead}: | self.case_reset(cr, uid, [ref("crm_lead_democustomer")]) @@ -118,12 +118,12 @@ !assert {model: crm.lead, id: crm_lead_democustomer, string: Lead in Pending state}: - state == "pending" - - Now I Escalate the Lead "Demo Customer" Parent "Sales Team". + I Escalate the Lead "Demo Customer" Parent "Sales Team". - !python {model: crm.lead}: | self.case_escalate(cr, uid, [ref("crm_lead_democustomer")]) - - Now I add Internal Note Saying Escalated Reason. + I add Internal Note Saying Escalated Reason. - !record {model: crm.add.note, id: crm_add_note_0}: body: Sales Lead Has Been Escalated Due to Some Technical reason to the parent 'Sales @@ -138,7 +138,7 @@ self.action_add(cr, uid, [ref("crm_add_note_0")], context=context) - - Now I Copying this lead "Demo Customer" to New Lead. + I Copying this lead "Demo Customer" to New Lead. - !python {model: crm.lead}: | self.copy(cr, uid, ref("crm_lead_democustomer")) diff --git a/addons/crm/test/test_crm_meeting.yml b/addons/crm/test/test_crm_meeting.yml index 274d9c0f9bb..8d851dd58c7 100644 --- a/addons/crm/test/test_crm_meeting.yml +++ b/addons/crm/test/test_crm_meeting.yml @@ -1,5 +1,5 @@ - | - Now I will test Meetings which may be customer meeting or phonecall meeting or + I will test Meetings which may be customer meeting or phonecall meeting or internal Meeting. - | I start by creating a new Meeting. @@ -33,7 +33,7 @@ trigger_occurs: before trigger_related: start - | - Now I will assign this reminder. + I will assign this reminder. - !python {model: crm.meeting}: | self.write(cr, uid, [ref('crm_meeting_regardingpresentation0')], {'alarm_id': ref("res_alarm_minituesbefore0")}) @@ -61,7 +61,7 @@ assert len(ids) == 10 - | - Now If I want to edit meetings information for all occurrence I click on "Edit All" button. + If I want to edit meetings information for all occurrence I click on "Edit All" button. - !python {model: crm.meeting}: | self.write(cr, uid, [ref('crm_meeting_regardingpresentation0')], {'edit_all':'True'},context) diff --git a/addons/crm/test/test_crm_opportunity.yml b/addons/crm/test/test_crm_opportunity.yml index d51b5c8d927..734a1cae46c 100644 --- a/addons/crm/test/test_crm_opportunity.yml +++ b/addons/crm/test/test_crm_opportunity.yml @@ -78,7 +78,7 @@ partner_id: base.res_partner_9 section_id: crm.section_sales_department - | - Now, Merge the opportunities. + I Merge the opportunities. - for that create two opportunities first opportunity 'Test FUEL CO'. - diff --git a/addons/crm/test/test_crm_partner2opportunity.yml b/addons/crm/test/test_crm_partner2opportunity.yml index ea546e7bf8e..fe026074f4f 100644 --- a/addons/crm/test/test_crm_partner2opportunity.yml +++ b/addons/crm/test/test_crm_partner2opportunity.yml @@ -7,7 +7,7 @@ partner_id: base.res_partner_9 probability: 0.0 - - Now, click on "Create Opportunity" button of this wizard. + I click on "Create Opportunity" button of this wizard. - !python {model: crm.partner2opportunity}: | fields = { diff --git a/addons/crm/test/test_crm_phonecall.yml b/addons/crm/test/test_crm_phonecall.yml index 4fac9d34bbb..7a9c367b296 100644 --- a/addons/crm/test/test_crm_phonecall.yml +++ b/addons/crm/test/test_crm_phonecall.yml @@ -7,14 +7,14 @@ duration: 2.0 section_id: crm.section_sales_department - - Now , I select partner by click on "Create a Partner" button. + I select partner by click on "Create a Partner" button. - !record {model: crm.phonecall2partner, id: crm_phonecall2partner_1}: action: exist partner_id: base.res_partner_9 - - Now, click on "Continue" button of this wizard. + I click on "Continue" button of this wizard. - !python {model: crm.phonecall2partner}: | @@ -32,7 +32,7 @@ planned_revenue: 0.0 probability: 0.0 - - Now, I click on "Convert" button of this wizard. + I click on "Convert" button of this wizard. - !python {model: crm.phonecall2opportunity}: | self.action_apply(cr, uid, [ref("crm_phonecall2opportunity_interviewcall0")], {"active_id": ref("crm_phonecall_interviewcall0")}) diff --git a/addons/crm/test/test_crm_recurrent_meeting_case2.yml b/addons/crm/test/test_crm_recurrent_meeting_case2.yml index 07b1e9f9551..b6afeb6906e 100644 --- a/addons/crm/test/test_crm_recurrent_meeting_case2.yml +++ b/addons/crm/test/test_crm_recurrent_meeting_case2.yml @@ -21,7 +21,7 @@ meeting_ids = self.search(cr, uid, [('id', 'in', [ref('crm_meeting_testmeeting0')]),('date','>=','2011-03-13'), ('date_deadline', '<=', '2011-05-13')], context={'virtual_id': True}) assert len(meeting_ids) == 5, 'Recurrent daily meetings are not created !' - - Now I create a weekly meeting till a particular end date. + I create a weekly meeting till a particular end date. - !record {model: crm.meeting, id: crm_meeting_reviewcodewithprogrammer0}: date: '2011-04-18 11:47:00' diff --git a/addons/crm/test/test_crm_segmentation.yml b/addons/crm/test/test_crm_segmentation.yml index 191f0bd9638..5563f1ce52f 100644 --- a/addons/crm/test/test_crm_segmentation.yml +++ b/addons/crm/test/test_crm_segmentation.yml @@ -1,5 +1,5 @@ - | - Now I will test segmentation which create specific partner categories criteria. + I will test segmentation which create specific partner categories criteria. - I create a new segmentation record. - @@ -10,7 +10,7 @@ som_interval: 0.0 sales_purchase_active : True - - Now, Start the process. + I start the process. - !python {model: crm.segmentation}: | self.process_start(cr, uid, [ref("crm_segmentation_id_0")],context) diff --git a/addons/crm/test/test_crm_stage_changes.yml b/addons/crm/test/test_crm_stage_changes.yml index c9dcac081d6..391a328bffe 100644 --- a/addons/crm/test/test_crm_stage_changes.yml +++ b/addons/crm/test/test_crm_stage_changes.yml @@ -61,7 +61,7 @@ !python {model: crm.lead}: | self.case_mark_lost(cr, uid, [ref('crm_lead_openerppresentation0')]) - - Now I check whether the probability is set according to stage change or not. + I check whether the probability is set according to stage change or not. - !python {model: crm.lead}: | opportunity = self.browse(cr, uid, ref('crm_lead_openerppresentation0')) diff --git a/addons/crm_caldav/test/test_crm_caldav.yml b/addons/crm_caldav/test/test_crm_caldav.yml index b049eadfddb..d286226bf3a 100644 --- a/addons/crm_caldav/test/test_crm_caldav.yml +++ b/addons/crm_caldav/test/test_crm_caldav.yml @@ -1,5 +1,5 @@ - | - Now Create test cases for Sharing meeting with other calendar clients like sunbird. + I create test cases for Sharing meeting with other calendar clients like sunbird. - | I start by creating a new Meeting. - diff --git a/addons/crm_claim/test/test_crm_claim.yml b/addons/crm_claim/test/test_crm_claim.yml index b1d4e734690..9ee130329a7 100644 --- a/addons/crm_claim/test/test_crm_claim.yml +++ b/addons/crm_claim/test/test_crm_claim.yml @@ -1,5 +1,5 @@ - | - Now I check claims which contain customer claim information about document + I check claims which contain customer claim information about document related problem, product related problem. - | I start by creating new claims for Damaged product as Value Claims with priority High and specify diff --git a/addons/crm_fundraising/test/test_crm_fund.yml b/addons/crm_fundraising/test/test_crm_fund.yml index 2e4a6bb18e2..a9207e534f0 100644 --- a/addons/crm_fundraising/test/test_crm_fund.yml +++ b/addons/crm_fundraising/test/test_crm_fund.yml @@ -1,5 +1,5 @@ - | - Now I start test Fund Raising which contain information about Donation or charity + I start test Fund Raising which contain information about Donation or charity given by user. - | I start by creating new Funds entry for donation for books to poor school children @@ -21,7 +21,7 @@ !assert {model: crm.fundraising, id: crm_fundraising_donationforbookstopoorschoolchildren0}: - state == 'draft' - | - Now I open Funds by click on "Open" button. + I open Funds by click on "Open" button. - !python {model: crm.fundraising}: | self.case_open(cr, uid, [ref('crm_fundraising_donationforbookstopoorschoolchildren0')]) diff --git a/addons/crm_partner_assign/test/test_crm_partner_assign.yml b/addons/crm_partner_assign/test/test_crm_partner_assign.yml index 1b42d50fda7..b214f535275 100644 --- a/addons/crm_partner_assign/test/test_crm_partner_assign.yml +++ b/addons/crm_partner_assign/test/test_crm_partner_assign.yml @@ -62,7 +62,7 @@ probability: 0.0 type: opportunity - - Now change the assigned partner. + I change the assigned partner. - !python {model: crm.lead}: | self.onchange_assign_id(cr, uid, [ref('crm_lead_questionnaireonopenerp0')], ref('base.res_partner_desertic_hispafuentes'), context) @@ -82,7 +82,7 @@ context.update({'history': 'info', }) self.on_change_history(cr, uid, [ref('crm_lead_questionnaireonopenerp0')], context.get('history'), context) - - Now check the case history. + I check the case history. - !python {model: crm.lead.forward.to.partner}: | context.update({'history': 'latest', }) @@ -94,12 +94,12 @@ context.update({'history': 'whole', }) self._get_case_history(cr, uid, context.get('history'), ref('crm_lead_questionnaireonopenerp0'), context=context) - - Now get lead details. + I get lead details. - !python {model: crm.lead.forward.to.partner}: | self.get_lead_details(cr, uid, ref('crm_lead_questionnaireonopenerp0'), context) - - Now I click on Forward button. + I click on Forward button. - !python {model: crm.lead.forward.to.partner}: | from tools import config diff --git a/addons/crm_profiling/test/test_crm_profiling.yml b/addons/crm_profiling/test/test_crm_profiling.yml index 06388c23f73..2b70cac592b 100644 --- a/addons/crm_profiling/test/test_crm_profiling.yml +++ b/addons/crm_profiling/test/test_crm_profiling.yml @@ -1,5 +1,5 @@ - | - Now I check segmentation which allows users to perform segmentation within partners. + I check segmentation which allows users to perform segmentation within partners. - I create a crm profiling question record. - @@ -42,7 +42,7 @@ data ={'form': {'questionnaire_name': ref('res_partner_john0')}, 'ids': [ref('res_partner_john0')], 'report_type': 'pdf', 'model': 'res.partner', 'id': ref('res_partner_john0')} self._questionnaire_compute(cr, uid, data, context) - | - Now, I start by creating new Questionnaire. + I start by creating new Questionnaire. - !record {model: crm_profiling.questionnaire, id: crm_profiling_questionnaire_basequestionnaire0}: description: First questionnaire.