-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReadMePlease.txt
39 lines (22 loc) · 1.21 KB
/
ReadMePlease.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
This Framework uses Oauth2 authentication of Spotify Web API.
---------------------------------------------------------------
Pre-requisite:
---------------------------------------------------------------
Please replace the following fields (with your own data) in : ${PROJECT_ROOT}\src\test\resources\config\FrameworkConfig.properties
a. client_id
b. client_secret
c. grant_type
d. refresh_token
e. spotifyUserID
TEST CASES:
---------------------------------------------------------------
spotify.oauth2.tests.PlaylistTests.java containes the below Playlist API test cases automated:
1. User should be able to create a Playlist.
2. User should be able to get an already created playlist.
3. User should be able to update an already created playlist.
4. User should NOT be able to create a playlist without name.
5. User should NOT be able to create a playlist with invalid bearer token.
6. User should be able to create a new playlist &&
add a track to that playlist (fetch json payload from already stored external file) &&
store response after adding track in external file as JSON for future.
7. Create multiple playlists with data driven names and descriptions from an Excel sheet + Data Provider concept.