Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.70 KB | None | 0 0
  1. Feature: Add Request functionalities
  2.  
  3. Background:
  4.  
  5. # User Name: ahussain@AIMD2 / ahussain@AIMSB
  6. # Password: F@v0rite1 / p@55w0rd
  7.  
  8. Given Browser is opened
  9. And nagivated to Click site // https://fse-na-sb-login.cloud.clicksoftware.com/tmindex.html?return_path=https://fse-na-sb.cloud.clicksoftware.com/
  10. And Click Site is displayed
  11. And clicks on Username field
  12. And enters correct Username (ahussain@AIMD2 / ahussain@AIMSB)
  13. And click sign in button
  14. And password field appears
  15. And click on password field
  16. And enters correct Password (F@v0rite1 / p@55w0rd)
  17. And click sign in button
  18.  
  19. Scenario: Click homepage is shown
  20.  
  21. Then click homepage is shown
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. # To Do
  34. # Delete Objective Policy
  35.  
  36. Scenario: Schedule Page is shown
  37.  
  38. When click on menu button
  39. And sidebar is shown
  40. And click on shedule button
  41. Then schedule page is shown
  42.  
  43.  
  44. Scenario: Alerts Center is shown
  45.  
  46. When click on Bell Icon
  47. Then Alert Center is shown
  48.  
  49. Scenario: Profile Preferences page is shown
  50.  
  51. When click on Profile Name
  52. And click Profile
  53. Then Profile Preferences page is shown
  54.  
  55.  
  56. Scenario: Edit Profile Preferences
  57.  
  58. When click on Profile Name
  59. And click Profile
  60. And change unit for distance
  61. And click Apply
  62. Then Profile Preferences is updated
  63.  
  64.  
  65. Scenario: Add New NA
  66.  
  67. Given on Schedule page
  68. When click Actions button
  69. And click New NA
  70. And NA Window is shown
  71. And enter required fields in General tab
  72. And click Ok button
  73. Then New NA is added.
  74.  
  75.  
  76. Scenario: Add New NA and apply
  77.  
  78. Given on Schedule page
  79. When click Actions button
  80. And click New NA
  81. And NA Window is shown
  82. And enter required fields in General tab
  83. And click Apply button
  84. Then New NA is updated.
  85.  
  86.  
  87.  
  88. Scenario: Cancel from New NA window
  89.  
  90. Given on Schedule page
  91. When click Actions button
  92. And click New NA
  93. And NA Window is shown
  94. And click Cancel button
  95. Then schedule page is displayed
  96.  
  97.  
  98.  
  99.  
  100. # To Do
  101. # Cannot Add New Task, error NULL
  102. Scenario: Add New Task
  103.  
  104. Given on Schedule page
  105. When click Actions button
  106. And click New Task
  107. And New Task Window is shown
  108. And enter required fields in General tab
  109. And click Ok button
  110. Then New NA is added.
  111.  
  112.  
  113.  
  114. Scenario: Edit Task
  115.  
  116. Given on Schedule page
  117. And tasks exist
  118. When click options of first task
  119. And click Edit button
  120. And edit any fields
  121. And click Apply
  122. Then Task is edited.
  123.  
  124.  
  125. Scenario: Change Task Status
  126.  
  127. Given on Schedule page
  128. And tasks exist
  129. And see current status
  130. When click options of first task
  131. And click Change Status button
  132. And select new Status
  133. Then Task status is updated.
  134.  
  135.  
  136.  
  137. Scenario: See Task Details
  138.  
  139. Given on Schedule page
  140. And tasks exist
  141. Then task details shown on card
  142.  
  143. Scenario: See More Task Details
  144.  
  145. Given on Schedule page
  146. And tasks exist
  147. When click more button on task
  148. Then more task details shown
  149.  
  150.  
  151. Scenario: Pin Task
  152.  
  153. Given on Schedule page
  154. And tasks exist
  155. When click options of first task
  156. And click Pin Task button
  157. Then Task is pinned.
  158.  
  159.  
  160. Scenario: Unpin Task
  161.  
  162. Given on Schedule page
  163. And tasks exist
  164. And task is pinned
  165. When click options of first task
  166. And click Unpin Task button
  167. Then Task is unpinned.
  168.  
  169. Scenario: Show Task on Gantt
  170.  
  171. Given on Schedule page
  172. And tasks exist
  173. When click options of first task
  174. And click Show on Gantt button
  175. Then Task is shown on Gantt.
  176.  
  177.  
  178. Scenario: Show Task on Map
  179.  
  180. Given on Schedule page
  181. And tasks exist
  182. When click options of first task
  183. And click Show on Map button
  184. Then Task is shown on Map.
  185.  
  186.  
  187. Scenario: Add Task to Clipboard
  188.  
  189. Given on Schedule page
  190. And tasks exist
  191. When click options of first task
  192. And click Add to Clipboard button
  193. Then Clipboard button is updated
  194. And click on clipboard button
  195. And Task is shown on Clipboard.
  196.  
  197.  
  198. Scenario: Check Task Rules
  199.  
  200. Given on Schedule page
  201. And tasks exist
  202. When click options of first task
  203. And click Check Rules button
  204. Then Rules window is shown
  205.  
  206.  
  207. Scenario: Get Candidates
  208.  
  209. Given on Schedule page
  210. And tasks exist
  211. When click options of first task
  212. And click Get Candidates button
  213. Then Get Candidates window is shown
  214.  
  215.  
  216. Scenario: Show Gantt
  217.  
  218. Given on Schedule page
  219. When click Gantt button
  220. Then Gantt is shown
  221.  
  222. Scenario: Change Date on Gantt using arrows
  223.  
  224. Given on Schedule page
  225. When click Gantt button
  226. And click move one day forward
  227. Then date moves one day forward
  228. And click move one day backward
  229. Then date moves one day backward
  230.  
  231.  
  232. Scenario: Change Date on Gantt using Calender
  233.  
  234. Given on Schedule page
  235. When click Gantt button
  236. And click on Calender
  237. And select new date
  238. Then new date shown
  239.  
  240.  
  241. Scenario: Search Resource Result shown on Gantt if exist
  242.  
  243. Given on Schedule page
  244. When click Gantt button
  245. And Gantt is shown
  246. And input 'a' in search resource text field
  247. And press enter
  248. Then search results shown
  249.  
  250.  
  251. Scenario: Search Resource Result not shown on Gantt if does not exist
  252.  
  253. Given on Schedule page
  254. When click Gantt button
  255. And Gantt is shown
  256. And input 'acz' in search resource text field
  257. And press enter
  258. Then no search results shown
  259.  
  260.  
  261. Scenario: Gantt Filter Excluded from Optimization results shown
  262.  
  263. Given on Schedule page
  264. When click Gantt button
  265. And Gantt is shown
  266. And click on Gantt Filter
  267. And check Excluded from Optimization box
  268. And press ESC
  269. Then updated filtered results shown
  270.  
  271.  
  272. Scenario: Gantt Filter Included in Optimization results shown
  273.  
  274. Given on Schedule page
  275. When click Gantt button
  276. And Gantt is shown
  277. And click on Gantt Filter
  278. And check Included in Optimization box
  279. And press ESC
  280. Then updated filtered results shown
  281.  
  282.  
  283. Scenario: Manage Gantt Filter Management window is shown
  284.  
  285. Given on Schedule page
  286. When click Gantt button
  287. And Gantt is shown
  288. And click on Gantt Filter
  289. And click on Manage
  290. Then Filter Management window is shown
  291.  
  292.  
  293. Scenario: Manage Gantt Filter Management window System Filters shown
  294.  
  295. Given on Schedule page
  296. When click Gantt button
  297. And Gantt is shown
  298. And click on Gantt Filter
  299. And click on Manage
  300. And uncheck all filters
  301. And check System Filters
  302. Then System Filters shown
  303.  
  304.  
  305. Scenario: Manage Gantt Filter Management window My Filters shown
  306.  
  307. Given on Schedule page
  308. When click Gantt button
  309. And Gantt is shown
  310. And click on Gantt Filter
  311. And click on Manage
  312. And uncheck all filters
  313. And check My Filters
  314. Then My Filters shown
  315.  
  316.  
  317. Scenario: Delete Custom Filter from Gantt Filter Management window
  318.  
  319. Given on Schedule page
  320. When click Gantt button
  321. And Gantt is shown
  322. And click on Gantt Filter
  323. And click on Manage
  324. And click on a custom filter
  325. And click delete
  326. And click confirm
  327. Then filter is deleted
  328.  
  329.  
  330. Scenario: Add Custom Filter from Gantt Filter Management window
  331.  
  332. Given on Schedule page
  333. When click Gantt button
  334. And Gantt is shown
  335. And click on Gantt Filter
  336. And click on Manage
  337. And click on a custom filter
  338. And click add
  339. And select a property
  340. And select a condition
  341. And select a value
  342. And click apply
  343. And click add condition
  344. And select a property
  345. And select a condition
  346. And select a value
  347. And click apply
  348. And click add condition
  349. And click delete condition on newly added condition
  350. And click apply
  351. Then filter is added
  352.  
  353.  
  354.  
  355. Scenario: Add Advanced Custom Filter from Gantt Filter Management window
  356.  
  357. Given on Schedule page
  358. When click Gantt button
  359. And Gantt is shown
  360. And click on Gantt Filter
  361. And click on Manage
  362. And click on a custom filter
  363. And click add
  364. And select a property
  365. And select a condition
  366. And select a value
  367. And click apply
  368. And click add condition
  369. And select a property
  370. And select a condition
  371. And select a value
  372. And click apply
  373. And click Advanced filter
  374. And enter a valid expression
  375. And click apply
  376. Then filter is added
  377.  
  378.  
  379.  
  380. Scenario: Rename Custom Filter from Gantt Filter Management window
  381.  
  382. Given on Schedule page
  383. When click Gantt button
  384. And Gantt is shown
  385. And click on Gantt Filter
  386. And click on Manage
  387. And click on a custom filter
  388. And click rename
  389. And enter a new name
  390. And click blank space in filters list
  391. Then filter is renamed
  392.  
  393.  
  394.  
  395. # To Do
  396. # Save as in Add Filter Not Working
  397.  
  398. Scenario: Change domain from Schedule page
  399. Given on Schedule page
  400. When click on working on n Domain(s)
  401. And select new Domain(s)
  402. And click apply
  403. Then results filtered to selected domain(s)
  404.  
  405. Scenario: Change Gantt Resolution to Daily
  406.  
  407. Given on Schedule page
  408. When click Gantt button
  409. And Gantt is shown
  410. And click on Change Gantt Resolution
  411. And click on Daily
  412. Then results updated
  413.  
  414.  
  415. Scenario: Change Gantt Resolution to Two Days
  416.  
  417. Given on Schedule page
  418. When click Gantt button
  419. And Gantt is shown
  420. And click on Change Gantt Resolution
  421. And click on Two Days
  422. Then results updated
  423.  
  424.  
  425. Scenario: Change Gantt Resolution to Weekly
  426.  
  427. Given on Schedule page
  428. When click Gantt button
  429. And Gantt is shown
  430. And click on Change Gantt Resolution
  431. And click on Weekly
  432. Then results updated
  433.  
  434.  
  435.  
  436. Scenario: Change start date of Gantt
  437.  
  438. Given on Schedule page
  439. When click Gantt button
  440. And Gantt is shown
  441. And click on Change start date of Gantt
  442. And click on a new date
  443. Then results updated
  444.  
  445.  
  446. Scenario: Change display options of Gantt
  447.  
  448. Given on Schedule page
  449. When click Gantt button
  450. And Gantt is shown
  451. And click on Display Options icon
  452. And unselect all options
  453. And select all options
  454. Then display settings updated
  455.  
  456.  
  457. Scenario: Change working hours settings of Gantt
  458.  
  459. Given on Schedule page
  460. When click Gantt button
  461. And Gantt is shown
  462. And click on Display Options icon
  463. And click change
  464. And change work week
  465. And change start time
  466. And change end time
  467. And change is working option
  468. And click apply
  469. Then working hours settings updated
  470.  
  471.  
  472. # To Do
  473. # What is the cutleries icon
  474. # on Gantt
  475. # goes black on clicking
  476.  
  477.  
  478.  
  479. Scenario: Change Gantt timeframe
  480.  
  481. Given on Schedule page
  482. When click Gantt button
  483. And Gantt is shown
  484. And click on the zoom in on time
  485. Then display changed
  486. And click on the zoom out on time
  487. Then display changed
  488.  
  489.  
  490.  
  491. Scenario: Show Home base on Gantt
  492.  
  493. Given on Schedule page
  494. When click Gantt button
  495. And Gantt is shown
  496. And click on option button beside a inspector
  497. And click show home base
  498. Then home base shown on map
  499.  
  500.  
  501. Scenario: Show Daily route on Gantt
  502.  
  503. Given on Schedule page
  504. When click Gantt button
  505. And Gantt is shown
  506. And click on option button beside a inspector
  507. And click show Daily route
  508. Then Daily route shown on map
  509.  
  510.  
  511.  
  512. Scenario: Relocate route on Gantt
  513.  
  514. Given on Schedule page
  515. When click Gantt button
  516. And Gantt is shown
  517. And click on option button beside a inspector
  518. And click on Relocate resource
  519. And add a resource
  520. And click next
  521. And change time
  522. And click next
  523. And click target district
  524. And click next
  525. And click home base
  526. And click next
  527. And click relocate
  528. Then Resource Relocated
  529.  
  530.  
  531. Scenario: Edit inspector details from Gantt
  532.  
  533. Given on Schedule page
  534. When click Gantt button
  535. And Gantt is shown
  536. And click on option button beside a inspector
  537. And click on Edit
  538. And Edit Inspector window is shown
  539. And edit a field
  540. And click Ok
  541. Then inspctor editted
  542.  
  543.  
  544.  
  545. Scenario: Call South East/Florida Central inspector from Gantt
  546.  
  547. Given on Schedule page
  548. When click Gantt button
  549. And Gantt is shown
  550. And click on option button beside a South East/Florida Central inspector
  551. And click on Call
  552. Then Call option is shown
  553.  
  554.  
  555.  
  556. # To DO
  557. # Schedule Idle Resource from Gant - Inspector Option
  558.  
  559.  
  560.  
  561. Scenario: Show Map
  562.  
  563. Given on Schedule page
  564. When click Map button
  565. Then Map is shown
  566.  
  567.  
  568. Scenario: Show Satellite Map
  569.  
  570. Given on Schedule page
  571. When click Map button
  572. And click Satellite Map button
  573. Then Satellite Map is shown
  574.  
  575.  
  576. Scenario: Zoom in Map
  577.  
  578. Given on Schedule page
  579. When click Map button
  580. And scroll down on map
  581. Then Map is zoomed in
  582.  
  583.  
  584. Scenario: Zoom out Map
  585.  
  586. Given on Schedule page
  587. When click Map button
  588. And scroll down on map
  589. Then Map is zoomed out
  590.  
  591.  
  592. # To Do
  593. Scenario: Schedule Task
  594.  
  595. Given on Schedule page
  596. And tasks exist
  597. When click options of first task
  598. And click Get Schedule button
  599. Then
  600.  
  601.  
  602. # Scenario: Add Completed Task to Clipboard
  603.  
  604. # Given on Schedule page
  605. # And Completed Task 1101255:215178 exists
  606. # When click on Search bar
  607. # And enter Completed Task code in bar
  608. # And press enter
  609. # And click the result from dropdown menu
  610. # Then task added to clipboard
  611.  
  612.  
  613. Scenario: Add Completed Task to Clipboard
  614.  
  615. Given on Schedule page
  616. And Completed Task 1101255:215178 exists
  617. When click on Search bar
  618. And enter Completed Task code in bar
  619. And press enter
  620. And click the result from dropdown menu
  621. Then Completed task added to clipboard
  622.  
  623.  
  624. Scenario: Change Completed Task to Scheduled
  625.  
  626. Given on Schedule page
  627. And Completed Task 1101255:215178 exists
  628. When click on Search bar
  629. And enter Completed Task code in bar
  630. And press enter
  631. And click the result from dropdown menu
  632. And click option menu
  633. And click change status
  634. And click Scheduled
  635. Then Completed task changed to Scheduled
  636.  
  637.  
  638. Scenario: Change Scheduled Task to Completed
  639.  
  640. Given on Schedule page
  641. And Scheduled Task 1101255:215178 exists
  642. When click on Search bar
  643. And enter Scheduled Task code in bar
  644. And press enter
  645. And click the result from dropdown menu
  646. And click option menu
  647. And click change status
  648. And click Completed
  649. Then Scheduled task changed to Completed
  650.  
  651.  
  652. Scenario: Change Scheduled Task to Dispatched
  653.  
  654. Given on Schedule page
  655. And Scheduled Task 1101255:215178 exists
  656. When click on Search bar
  657. And enter Scheduled Task code in bar
  658. And press enter
  659. And click the result from dropdown menu
  660. And click option menu
  661. And click change status
  662. And click Dispatched
  663. Then Scheduled task changed to Dispatched
  664.  
  665.  
  666.  
  667. Scenario: Change Scheduled Task to Open
  668.  
  669. Given on Schedule page
  670. And Scheduled Task 1101255:215178 exists
  671. When click on Search bar
  672. And enter Scheduled Task code in bar
  673. And press enter
  674. And click the result from dropdown menu
  675. And click option menu
  676. And click change status
  677. And click Open
  678. Then Scheduled task changed to Open
  679.  
  680.  
  681. Scenario: Change Scheduled Task to Cancel
  682.  
  683. Given on Schedule page
  684. And Scheduled Task 1101255:215178 exists
  685. When click on Search bar
  686. And enter Scheduled Task code in bar
  687. And press enter
  688. And click the result from dropdown menu
  689. And click option menu
  690. And click change status
  691. And click Cancel
  692. Then Scheduled task changed to Cancel
  693.  
  694.  
  695.  
  696. Scenario: Change Open Task to Cancel
  697.  
  698. Given on Schedule page
  699. And Scheduled Task 1101255:215178 exists
  700. When click on Search bar
  701. And enter Open Task code in bar
  702. And press enter
  703. And click the result from dropdown menu
  704. And click option menu
  705. And click change status
  706. And click Cancel
  707. Then Open task changed to Cancel
  708.  
  709.  
  710.  
  711. Scenario: Change Open Task to Rejected
  712.  
  713. Given on Schedule page
  714. And Scheduled Task 1101255:215178 exists
  715. When click on Search bar
  716. And enter Open Task code in bar
  717. And press enter
  718. And click the result from dropdown menu
  719. And click option menu
  720. And click change status
  721. And click Rejected
  722. Then Open task changed to Rejected
  723.  
  724.  
  725. Scenario: Change Cancelled Task to Rejected
  726.  
  727. Given on Schedule page
  728. And Cancelled Task 1101255:215178 exists
  729. When click on Search bar
  730. And enter Open Task code in bar
  731. And press enter
  732. And click the result from dropdown menu
  733. And click option menu
  734. And click change status
  735. And click Rejected
  736. Then Cancelled task changed to Rejected
  737.  
  738.  
  739.  
  740. Scenario: Add Scheduled Task to Clipboard
  741.  
  742. Given on Schedule page
  743. And Scheduled Task 1103153:215955 exists
  744. When click on Search bar
  745. And enter Scheduled Task code in bar
  746. And press enter
  747. And click the result from dropdown menu
  748. Then Scheduled task added to clipboard
  749.  
  750.  
  751. Scenario: Add Open Task to Clipboard
  752.  
  753. Given on Schedule page
  754. And Open Task 1103138:215948 exists
  755. When click on Search bar
  756. And enter Open Task code in bar
  757. And press enter
  758. And click the result from dropdown menu
  759. Then Open task added to clipboard
  760.  
  761.  
  762. Scenario: Add Dispatched Task to Clipboard
  763.  
  764. Given on Schedule page
  765. And Dispatched Task 1103025:215899 exists
  766. When click on Search bar
  767. And enter Dispatched Task code in bar
  768. And press enter
  769. And click the result from dropdown menu
  770. Then Dispatched task added to clipboard
  771.  
  772.  
  773. # Scheduled Home
  774. # https://crm-uat.aiminspect.com/#!/inspection-request/1102996
  775. # 1102996
  776.  
  777.  
  778. # https://crm-uat.aiminspect.com/#!/inspection-request/1103025
  779. # 1103025
  780.  
  781. # https://crm-uat.aiminspect.com/#!/inspection-request/1103138
  782. # 1103138
  783.  
  784. # https://crm-uat.aiminspect.com/#!/inspection-request/1103153
  785. # 1103153
  786.  
  787. # To Do
  788. Scenario: Reshuffle
  789.  
  790. # To Do
  791. Scenario: Duplicate Task
  792.  
  793. # To Do
  794. # How to view NA and Tasks ?
  795.  
  796.  
  797.  
  798. # To Do
  799. # Filter Management
  800.  
  801. # To Do
  802. # New Duplicate Delete buttons not working
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809. Scenario: Inspector Territory Page is shown
  810.  
  811. When click on menu button
  812. And sidebar is shown
  813. And click on Views button
  814. And click on Inspector Territory button
  815. Then Inspector Territory page is shown
  816.  
  817.  
  818.  
  819. # To Do
  820. Scenario: Add New Inspector Territory
  821.  
  822. Given on Schedule page
  823. When click Actions button
  824. And click New NA
  825. And NA Window is shown
  826. And enter required fields in General tab
  827. And click Ok button
  828. Then New NA is added.
  829.  
  830.  
  831. Scenario: Inspection Page is shown
  832.  
  833. When click on menu button
  834. And sidebar is shown
  835. And click on Views button
  836. And click on Inspection button
  837. Then Inspection page is shown
  838.  
  839.  
  840.  
  841. # To Do
  842.  
  843. # Doesnt work Add, Duplicate, Delete
  844. Scenario: Add New Inspection
  845.  
  846. Given on Inspection page
  847. When click New button
  848. And click New NA
  849. And NA Window is shown
  850. And enter required fields in General tab
  851. And click Ok button
  852. Then New NA is added.
  853.  
  854.  
  855. Scenario: Inspector Page is shown
  856.  
  857. When click on menu button
  858. And sidebar is shown
  859. And click on Views button
  860. And click on Inspector button
  861. Then Inspector page is shown
  862.  
  863.  
  864. Scenario: Duplicate Inspector from Inspector Page
  865.  
  866. When click on menu button
  867. Then sidebar is shown
  868. And click on Views button
  869. And click on Inspector button
  870. And Inspector page is shown
  871. And select an Inspector
  872. And click Duplicate
  873. And edit ID
  874. And click Ok
  875. Then Inspector is duplicated
  876.  
  877.  
  878. Scenario: Delete Inspector from Inspector Page
  879.  
  880. When click on menu button
  881. Then sidebar is shown
  882. And click on Views button
  883. And click on Inspector button
  884. And Inspector page is shown
  885. And select an Inspector
  886. And click Duplicate
  887. And edit ID
  888. And click Ok
  889. Then Inspector is duplicated
  890.  
  891.  
  892.  
  893.  
  894. Scenario: Address Page is shown
  895.  
  896. When click on menu button
  897. And sidebar is shown
  898. And click on Views button
  899. And click on Address button
  900. Then Address page is shown
  901.  
  902. Scenario: Add Address from Address Page
  903.  
  904. When click on menu button
  905. And sidebar is shown
  906. And click on Views button
  907. And click on Address button
  908. And Address page is shown
  909. And click new
  910. And enter required fields
  911. And click ok
  912. Then New Address is added
  913.  
  914. Scenario: Duplicate Address from Address Page
  915.  
  916. When click on menu button
  917. And sidebar is shown
  918. And click on Views button
  919. And click on Address button
  920. And Address page is shown
  921. And click duplicate
  922. And click ok
  923. Then Address is duplicated
  924.  
  925. Scenario: Delete Address from Address Page
  926.  
  927. When click on menu button
  928. And sidebar is shown
  929. And click on Views button
  930. And click on Address button
  931. And Address page is shown
  932. And click delete
  933. And click ok
  934. Then Address is deleted
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946. Scenario: Add New Inspector from Inspector Page
  947.  
  948. When click on menu button
  949. And sidebar is shown
  950. And click on Views button
  951. And click on Inspector button
  952. And click on New button
  953. And New Inspector page is shown
  954. And enter mandatory fields on Personal tab
  955. And click Location tab
  956. And enter mandatory fields on Location tab
  957. And click Professional tab
  958. And enter mandatory fields on Professional tab
  959. And click Ok
  960. Then New Inspector is added
  961.  
  962.  
  963. Scenario: Duplicate Inspector from Inspector Page
  964.  
  965. When click on menu button
  966. And sidebar is shown
  967. And click on Views button
  968. And click on Inspector button
  969. And check an Inspector
  970. And click Duplicate
  971. And edit the ID field from Personal tab
  972. And click Ok
  973. Then Inspector is duplicated
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983. Scenario: Add New Inspector Territory from Inspector Territory Page
  984.  
  985. When click on menu button
  986. And sidebar is shown
  987. And click on Views button
  988. And click on Inspector Territory button
  989. And click on New button
  990. And New Inspector Territory page is shown
  991. And enter mandatory fields
  992. And click Ok
  993. Then New Inspector Territory is added
  994.  
  995. Scenario: Duplicate Inspector Territory from Inspector Territory Page
  996.  
  997. When click on menu button
  998. And sidebar is shown
  999. And click on Views button
  1000. And click on Inspector Territory button
  1001. And click on check mark beside a Territory
  1002. And click duplicate
  1003. And New Inspector Territory page is shown
  1004. And edit any mandatory field
  1005. And click Ok
  1006. Then Inspector Territory is duplicated
  1007.  
  1008.  
  1009. Scenario: Edit Inspector Territory from Inspector Territory Page
  1010.  
  1011. When click on menu button
  1012. And sidebar is shown
  1013. And click on Views button
  1014. And click on Inspector Territory button
  1015. And click on a Territory
  1016. And Inspector Territory edit page is shown
  1017. And edit any field
  1018. And click Ok
  1019. Then Inspector Territory is edited
  1020.  
  1021.  
  1022. Scenario: Delete Inspector Territory from Inspector Territory Page
  1023.  
  1024. When click on menu button
  1025. And sidebar is shown
  1026. And click on Views button
  1027. And click on Inspector Territory button
  1028. And click on check mark beside a Territory
  1029. And click delete
  1030. And Confirm delete window is shown
  1031. And click confirm
  1032. Then Inspector Territory is deleted
  1033.  
  1034.  
  1035.  
  1036.  
  1037. Scenario: Reopen indefinitely
  1038.  
  1039. Given is FMCC or VCI
  1040. When Status equals ‘Dispatched’ or ‘Acknowledged’
  1041. And TaskType equals FMCC Dealer or VCI Dealer
  1042. And IsAppointment equals False
  1043. Then Reopen indefinitely
  1044.  
  1045.  
  1046. Scenario: Reopen 8 days
  1047.  
  1048. Given task types Hyundai or Nissan or CCap Santander or Toyota
  1049. And Status equals ‘Dispatched’ or ‘Acknowledged’
  1050. And TaskType equals Nissan Dealer or Hyundai Dealer or Chrysler Capital Santander Dealer or Toyota Dealer
  1051. And IsAppointment equals False
  1052. And Early start < 8 days ago.
  1053. Then reopen 8 days
  1054.  
  1055. # To Do
  1056. # Having issues with these scenarios:
  1057.  
  1058. # Delete Nonavailability from Non-availability Page
  1059.  
  1060.  
  1061. # Duplicate Non-availability from Non-availability Page
  1062. # Add New Task, Duplicate Task, error NULL
  1063. # See Task
  1064. # Still Cannot
  1065.  
  1066.  
  1067. # Schedule Tasks
  1068. # Unschedule
  1069.  
  1070. # Schedule Tasks
  1071. # Schedule
  1072.  
  1073. # Reopen Agent Test Plan
  1074.  
  1075. # Delete inspector
  1076. # Not working
  1077.  
  1078. # Search bar not working
  1079.  
  1080. # All schedule option beside search bar not working
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement