asdasd

Python code posted by asdasd
created at 13 Dec 21:39, updated at 19 Jul 15:15

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
```python
# Feature 1
# Feature: User is able to search by first and last name with case agnostic matching
# Given the user is logged in
# When the user enters <search_term>
# Then the system looks for the user term entered
# And system converts converts string into lower case
# And the system converts the list of names to lower case
# And returns <results>
# And a message <rsp_message>
# | search_term | names                                                | results                    # | rsp_message        |
# | Ali         | ['Ali Shah','Shazaib Ali','Basit Mundia','Aliuddin'] | ['Ali Shah','Shazaib Ali'] | 'Success'          |
# | Ali         | ['ali Shah','SHAZAIB ALI','Basit Mundia','Aliuddin'] | ['ali Shah','SHAZAIB ALI'] | 'Success'          |
# | Al          | ['ali Shah','SHAZAIB ALI','Basit Mundia','Aliuddin'] | []                         | 'No Results Found' |

```
903 Bytes in 2 ms with coderay